Logging

From VoIPmonitor.org
Revision as of 15:04, 10 March 2016 by Petr.halounek (talk | contribs) (Created page with "Notes: '''Voipmonitor''' by default uses 'daemon' facility of syslog to store status messages. By default it is stored to /var/log/syslog(debian/ubuntu) or to /var/log/message...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Notes: Voipmonitor by default uses 'daemon' facility of syslog to store status messages. By default it is stored to /var/log/syslog(debian/ubuntu) or to /var/log/messages(centos/rh)


You can find useful to store status info from voipmonitor to different file: For rsyslog use this in /etc/rsyslog.conf

if $programname == 'voipmonitor' and $syslogseverity <= '7' then /var/log/voipmon.log
& ~