diff --git a/drivers/syslog/Kconfig b/drivers/syslog/Kconfig index cbe3a60fafe..b79fdd3106e 100644 --- a/drivers/syslog/Kconfig +++ b/drivers/syslog/Kconfig @@ -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 diff --git a/drivers/syslog/vsyslog.c b/drivers/syslog/vsyslog.c index 2b04ff6aab2..e6cf91716c5 100644 --- a/drivers/syslog/vsyslog.c +++ b/drivers/syslog/vsyslog.c @@ -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 */