I am having a problem with logging. After upgrading from asterisk 11.18 to 11.19, 11.20 or 11.21 no entries are being written to syslog anymore. After reinstalling asterisk 11.18 logging works fine again.
logger.conf has the following entries:
console => notice,warning,error
messages => notice,warning,error
syslog.local0 => notice,warning,error,verbose
;logging_test => notice,warning,error,verbose
writing into /var/log/asterisk/logging_test did work fine. Also executing "logger -p local0.info test" on shell did create an entry in /var/log/asterisk/syslog
syslog-logging is alos enabled in asterisk:
logger show channels
Channel Type Status Configuration
------- ---- ------ -------------
syslog.local0 Syslog Enabled - NOTICE WARNING ERROR VERBOSE
/var/log/asterisk/messages File Enabled - NOTICE WARNING ERROR
Console Enabled - NOTICE WARNING ERROR
Does anyone have an idea why this is happening?