Remove all traces of CONFIG_SYSLOG

This commit is contained in:
Gregory Nutt
2016-06-19 13:59:43 -06:00
parent 9434d3e945
commit 5b2aa7bf99
374 changed files with 326 additions and 610 deletions
-2
View File
@@ -369,9 +369,7 @@ void lib_nulloutstream(FAR struct lib_outstream_s *nulloutstream);
*
****************************************************************************/
#ifdef CONFIG_SYSLOG
void syslogstream(FAR struct lib_outstream_s *stream);
#endif
/****************************************************************************
* Name: lib_noflush
+6 -26
View File
@@ -70,12 +70,11 @@
* in that case, console output from non-Telnet threads will go to the
* circular buffer and can be viewed using the NSH 'dmesg' command.
* CONFIG_RAMLOG_SYSLOG - Use the RAM logging device for the syslogging
* interface. If this feature is enabled (along with CONFIG_SYSLOG),
* then all debug output (only) will be re-directed to the circular
* buffer in RAM. This RAM log can be view from NSH using the 'dmesg'
* command. NOTE: Unlike the limited, generic character driver SYSLOG
* device, the RAMLOG *can* be used to generate debug output from interrupt
* level handlers.
* interface. If this feature is enabled then all debug output (only)
* will be re-directed to the circular buffer in RAM. This RAM log can
* be viewied from NSH using the 'dmesg' command. NOTE: Unlike the
* limited, generic character driver SYSLOG device, the RAMLOG *can* be
* used to generate debug output from interrupt level handlers.
* CONFIG_RAMLOG_NPOLLWAITERS - The number of threads than can be waiting
* for this driver on poll(). Default: 4
*
@@ -89,10 +88,6 @@
# undef CONFIG_RAMLOG_CONSOLE
#endif
#ifndef CONFIG_SYSLOG
# undef CONFIG_RAMLOG_SYSLOG
#endif
#if defined(CONFIG_RAMLOG_SYSLOG) && !defined(CONFIG_SYSLOG_DEVPATH)
# define CONFIG_SYSLOG_DEVPATH "/dev/ramlog"
#endif
@@ -101,25 +96,10 @@
# define CONFIG_RAMLOG_NPOLLWAITERS 4
#endif
#ifndef CONFIG_SYSLOG
# undef CONFIG_RAMLOG_SYSLOG
#endif
#ifndef CONFIG_RAMLOG_BUFSIZE
# define CONFIG_RAMLOG_BUFSIZE 1024
#endif
/* The normal behavior of the RAM log when used as a SYSLOG is to return
* end-of-file if there is no data in the RAM log (rather than blocking until
* data is available). That allows you to 'cat' the SYSLOG with no ill
* consequences.
*/
#ifdef CONFIG_SYSLOG
# undef CONFIG_RAMLOG_NONBLOCKING
# define CONFIG_RAMLOG_NONBLOCKING 1
#endif
/* When used as a console or syslogging device, the RAM log will pre-pend
* line-feeds with carriage returns.
*/
@@ -207,7 +187,7 @@ int ramlog_syslog_channel(void);
* the syslog() internface writes to syslog device (usually fd=1, stdout)
* whereas lowsyslog() uses a lower level interface that works from
* interrupt handlers. This function is a a low-level interface used to
* implement lowsyslog() when CONFIG_RAMLOG_SYSLOG=y and CONFIG_SYSLOG=y
* implement lowsyslog() when CONFIG_RAMLOG_SYSLOG=y.
*
****************************************************************************/
+2 -8
View File
@@ -49,8 +49,7 @@
* Pre-processor Definitions
****************************************************************************/
/* Configuration ************************************************************/
/* CONFIG_SYSLOG - Enables generic system logging features.
* CONFIG_SYSLOG_INTBUFFER - Enables an interrupt buffer that will be used
/* CONFIG_SYSLOG_INTBUFFER - Enables an interrupt buffer that will be used
* to serialize debug output from interrupt handlers.
* CONFIG_SYSLOG_INTBUFSIZE - The size of the interrupt buffer in bytes.
* CONFIG_SYSLOG_DEVPATH - The full path to the system logging device
@@ -76,15 +75,10 @@
* NOTE: No more than one SYSLOG device should be configured.
*/
#ifndef CONFIG_SYSLOG
# undef CONFIG_SYSLOG_CHAR
#endif
#if defined(CONFIG_SYSLOG_CHAR) && !defined(CONFIG_SYSLOG_DEVPATH)
# define CONFIG_SYSLOG_DEVPATH "/dev/ttyS1"
#endif
#ifdef CONFIG_SYSLOG_INTBUFFER
# ifndef CONFIG_SYSLOG_INTBUFSIZE
# define CONFIG_SYSLOG_INTBUFSIZE 512
@@ -213,7 +207,7 @@ int syslog_initialize(void);
int syslog_flush(void);
/****************************************************************************
* Name: _vsyslog and _vlowsyslog
* Name: _vsyslog and _lowvsyslog
*
* Description:
* _vsyslog() handles the system logging system calls. It is functionally