mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 01:42:58 +08:00
Revert "drivers/syslog: Prepend Process ID to syslog message"
This reverts commit 0cd3389459.
This commit is contained in:
@@ -111,12 +111,6 @@ config SYSLOG_TIMESTAMP_REALTIME
|
||||
CLOCK_MONOTONIC, if enabled, will be used or the system timer
|
||||
is not.
|
||||
|
||||
config SYSLOG_PROCESSID
|
||||
bool "Prepend Process ID to syslog message"
|
||||
default n
|
||||
---help---
|
||||
Prepend Process ID to syslog message.
|
||||
|
||||
config SYSLOG_PREFIX
|
||||
bool "Prepend prefix to syslog message"
|
||||
default n
|
||||
|
||||
@@ -138,12 +138,6 @@ int nx_vsyslog(int priority, FAR const IPTR char *fmt, FAR va_list *ap)
|
||||
ret = 0;
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_SYSLOG_PROCESSID)
|
||||
/* Pre-pend the Process ID */
|
||||
|
||||
ret += lib_sprintf(&stream.public, "[%2d] ", (int)getpid());
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_SYSLOG_PREFIX)
|
||||
/* Pre-pend the prefix, if available */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user