Revert "drivers/syslog: Prepend Process ID to syslog message"

This reverts commit 0cd3389459.
This commit is contained in:
chao.an
2021-03-09 00:52:51 +08:00
parent c52a65890b
commit 4b5f6b138e
2 changed files with 0 additions and 12 deletions
-6
View File
@@ -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
-6
View File
@@ -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 */