28 Feb
2016
28 Feb
'16
15:35
Billy.Zheng(zw963) wrote:
From logger command man:
logger - a shell command interface to the syslog(3) system log module
So, I want to use this command to write log to syslog.
following is a test:
$: echo 'some special log output' |logger
but, i could not found anything about my log in /var/log/.
From the man page:
logger [options] [message] For your test to work: $: echo 'some special log output' | xargs logger -- Per Jessen, Zürich (6.0°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org