Billy.Zheng(zw963) wrote:
there is some, for example, systemd triggered service in the basic distribution that depends on /var/log/messages rather than the journald mechanism, then yes it it a serious flaw.
No, sorry, I have very poor knowledge about how system log is worked. What i need is just a simple way to add application log to one file.
My VPS use openSUSE 42.1, I deploy some application in it, with some self-defined boot start bash scripts, I want a simple way to write all application log to same file.
start_some_application |logger
Unless you have to write to a system log, surely "start_some_application
logfile" is easier ?
I hope it logger output to one file which I familiar and commonly. the only I know from slackware is /var/log/messages.
You only get log written to /var/log/messages when you have a syslog daemon active. openSUSE does not by default install a syslog daemon. It's easy to add - "zypper in syslog-ng" or "zypper in rsyslog". I favour syslog-ng, it does everything I want it to with a minimum of config effort. -- Per Jessen, Zürich (1.4°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