-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
Type: Improvementbreaking changeThis change requires a mitigation entry in the release notes.This change requires a mitigation entry in the release notes.
Milestone
Description
These options are misleading.
All other console enable options have the format like CONFIG_{device_name}_CONSOLE, but for SYSLOG it is CONFIG_CONSOLE_SYSLOG. Moreover there is CONFIG_SYSLOG_CONSOLE option but it has different purpose than other options with format CONFIG_{device_name}_CONSOLE.
config SYSLOG_CONSOLE
bool "Log to /dev/console"
default !ARCH_LOWPUTC && !SYSLOG_CHAR && !RAMLOG_SYSLOG && !SYSLOG_RPMSG && !SYSLOG_RTT
depends on DEV_CONSOLE
---help---
Use the system console as a SYSLOG output device.
config CONSOLE_SYSLOG
bool "Use SYSLOG for /dev/console"
default n
depends on DEV_CONSOLE && !SYSLOG_CONSOLE
---help---
Use the syslog logging device as a system console. If this feature is
enabled (along with DEV_CONSOLE), then all console output will be
re-directed to syslog output (syslog_putc). This is useful, for
example, if the only console is a Telnet console. Then in that case,
console output from non-Telnet threads will go to the syslog output.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type: Improvementbreaking changeThis change requires a mitigation entry in the release notes.This change requires a mitigation entry in the release notes.
Type
Projects
Status
No status