[asterisk-users] Asterisk 13 logging to two places

Steve Edwards asterisk.org at sedwards.com
Fri Jun 26 14:13:55 CDT 2015


Please don't top-post.

On Fri, 26 Jun 2015, Dale Noll wrote:

> I turned on the messages that he had in the file again, all the logs were in /var/log/asterisk and it does not show anything for syslog.
> asterisk -rx 'logger show channels'
> Channel                             Type     Status    Configuration
> -------                             ----     ------    -------------
> /var/log/asterisk/full              File     Enabled    - DEBUG NOTICE WARNING ERROR VERBOSE DTMF FAX 
> /var/log/asterisk/messages          File     Enabled    - NOTICE WARNING ERROR 
> 
> I wonder if there is a weird parsing error in the logger.conf file that is causing it to verbose log, but I will need to do more testing.
> It may also be related to the verbose=3 in the asterisk.conf file.
> I want to try to replicate it on a test system.

Weird. I was expecting something like:

Channel                             Type     Status    Configuration
-------                             ----     ------    -------------
syslog.local0                       Syslog   Enabled    - WARNING ERROR VERBOSE

This may be a bit off the wall, but any chance the script that starts 
Asterisk is piping to logger?

Does 'pidof logger' show anything?

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000


More information about the asterisk-users mailing list