sympa-community.github.io

Incubating the new Sympa documentation site

Configure system log

Sympa reports events and errors using syslog protocol.

Sympa configuration parameters

Instruction by syslog servers

Traditional syslog

  1. Create log file:
    # touch /var/log/sympa.log
    # chmod 640 /var/log/sympa.log
    
  2. Add following line to syslog.conf:
    local1.* -/var/log/sympa.log
    
  3. Reload syslog service.

Tests

  1. Run testlogs utility (Note: replace $SCRIPTDIR below):
    # $SCRIPTDIR/testlogs.pl
    

    And confirm that following message will be shown:

    Ok, now check logs
    
  2. 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.

CC BY-SA 4.0 Unless otherwise specified, the contents of this document are licensed under the Creative Commons - Attribution - ShareAlike license. For more details see LICENSE and AUTHORS.

Theme originally designed by orderedlist