[asterisk-users] Asterisk 13 logging to two places
Dale Noll
dnoll at wi.rr.com
Fri Jun 26 13:51:35 CDT 2015
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.
On Fri, Jun 26, 2015 at 1:42 PM, Steve Edwards <asterisk.org at sedwards.com>
wrote:
> On Fri, 26 Jun 2015, Dale Noll wrote:
>
> I added a filter to the /etc/rsyslog.conf file
>>
>> :syslogtag, contains, "asterisk" stop
>>
>> Syslog is still receiving the messages, but is discarding them.
>>
>
> Nice to learn a new (to me) feature of rsyslog.
>
> What does 'logger show channels' show?
>
> --
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150626/898a3a91/attachment.html>
More information about the asterisk-users
mailing list