Hi,


I apologize for spamming.



I have a question for systemd logging.



Given the same verbosity level, less logs are shown on console when the
logs (of a systemd service) are directed to ‘stdout’ instead of ‘stderr’.

Is this the logging intent for systemd?



Would the logging volume be related to the ‘LogTarget’ enum?



*typedef enum LogTarget{*

*        LOG_TARGET_CONSOLE,*

*        LOG_TARGET_KMSG,*

*        LOG_TARGET_SYSLOG,*

*        LOG_TARGET_SYSLOG_OR_KMSG,*

*        LOG_TARGET_AUTO, /* console if stderr is tty, SYSLOG_OR_KMSG
otherwise */*

*        LOG_TARGET_NULL,*

*        _LOG_TARGET_MAX,*

*        _LOG_TARGET_INVALID = -1*

*}  LogTarget;*



Thank you,

Jack
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to