Configure system log
Sympa reports events and errors using syslog protocol.
Sympa configuration parameters
The default value of
unix, using Unix domain socket to communicate with syslog server. Some platforms including Solaris prefer to
stream. The value may also be
inet, using TCP or UDP connection.
Instruction by syslog servers
- Create log file:
# touch /var/log/sympa.log # chmod 640 /var/log/sympa.log
- Add following line to syslog.conf:
- Reload syslog service.
testlogsutility (Note: replace
And confirm that following message will be shown:
Ok, now check logs
- Check log file and confirm that following log line was recorded:
sympa/testlogs[XXXX]: info main:: Logs seems OK, default log level 0
If something went unexpected, check configuration of syslog server.