- Many events that occur on a Linux system should be logged for administrative purposes
Linux has a facility called
syslog
that allows any service or part of the system to log such eventssyslog
can be configured to log different events to different places- Events can be selected based on severity ('level') and/or on the service that encountered the event ('facility')
- Messages can go to files, to the system console, or to a centralised
syslog
server running on another machine