[asterisk-users] Asterisk 13 logging to two places

Dale Noll dnoll at wi.rr.com
Fri Jun 26 14:37:09 CDT 2015


On Fri, Jun 26, 2015 at 2:13 PM, Steve Edwards <asterisk.org at sedwards.com>
wrote:

> Please don't top-post.
>
>
Sorry, Gmail got me there.



> 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
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>

No, 'pidof logger' returns nothing.

You may have a point about how it is being started however.
This is CentOS 7 and Asterisk is being started by systemd. I am not sure I
get along with systemd yet, so perhaps it is doing something with syslog
that I am unaware of.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150626/83a787d9/attachment.html>


More information about the asterisk-users mailing list