tracing application logs in syslog
I 'd like that my daemon write your logs in /var/log/syslog file.
What is the correct way to use openlog, syslog and closelog ? How can I to trace application logs in syslog ? PS = I read yet man page! |
I am not familiar with the details. I am writing because nobody else has replied and this seems like a question that most people should know.
You will need to use the syslog facility. You can read about it in the man utility. Code:
man syslog I think that's generally what you need to do. |
yes,
there is a command-line utility logger which does the same sort of thing, you can experiment with that maybe to speed up your knowledge. |
All times are GMT -5. The time now is 05:29 AM. |