[systemd-devel] Systemd Logging

Jack Wu jack.nan.wu at gmail.com
Thu Mar 22 16:28:07 PDT 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20120322/8cb72ba9/attachment.html>


More information about the systemd-devel mailing list