Mailinglist Archive: opensuse (1239 mails)

< Previous Next >
Re: [opensuse] systemd hides important information for diagnosis of rsyslog.
El 14/06/13 03:54, Carlos E. R. escribió:
On 2013-06-14 00:46, Cristian Rodríguez wrote:
El 13/06/13 17:56, Carlos E. R. escribió:

Why is not systemd logging this output?

Because:

1. that output is sent to stderr.

2. The unit file has StandardOutput=null as expected, otherwise a
feedback loop will ocurr (the messages emitted by rsyslog service
messages will be logged to the journal, which in turn will be forwarded
to the syslog socket, that will cause a request for a syslog
implementation to be activated..goto beggining :-) )

3. By default StandardError= inherits StandardOutput, if you change
StandardError= goto 2 ;)

Soo... there is no special case to capture the error /somehow/?

Not at the moment for this particular case, syslog implementations _must_ have stdout and stderr connected to /dev/null otherwise they will trigger a loop.. that said, if the daemon can log its own errors to a separate file, it might be possible.




--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups