Information abound about syslog, but I can't find anything very concise for my interest.
I have a user-created bash script that should log various debug, info, and error messages. I'd like to use syslog. This in Ubuntu Server distribution.
I'm looking for a quick overview only.
- I see many files in
/etc/logrotate.d
that don't get discussed in any man pages that confuse me. - Should I be logging as user? local0-7?
- Do I need to do something to configure this before I use these in a logger command?
- How should I define what logs get created? Or is this already done?
With those questions answered I should be able to glean the details from the man pages.