On 2016-03-03 04:27, Billy.Zheng (zw963) wrote:
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.
If you want to write to a single file, just write yourself to it. echo "some text" >> somefile
start_some_application |logger
Not the way to use it, IMHO.
I hope it logger output to one file which I familiar and commonly. the only I know from slackware is /var/log/messages.
The rest of the system will also write to it, not only you.
so, I don't know if some *service* is depend on /var/log/message.
No, nothing should depend on /var/log/message However, to have it you need to start a syslog daemon. |> A: Yes. |> > Q: Are you sure? |> >> A: Because it reverses the logical flow of conversation. |> >>> Q: Why is top posting frowned upon? -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)