Hello,

I am logging into messages and also to syslog.
Here is my /etc/asterisk/logger.conf:

     messages => notice,warning,error,verbose
syslog.local0 => notice,warning,error,verbose

But the logs look different:

[2019-10-20 12:02:06] VERBOSE[7609][C-00000013]  pbx.c:
            Executing [1111@fullaccess:1] Answer("SIP/2222-0000000c",
"") in new stack
vs.

 2019-10-20 12:02:06  VERBOSE[7609][C-00000013]: pbx.c:2925 in
pbx_extension_helper: Executing [1111@fullaccess:1]
Answer("SIP/2222-0000000c", "") in new stack

specifically, the messages coming from syslog have extra information
(which I am not interested in):

such as:

pbx.c:                              Executing ...
pbx.c:2925 in pbx_extension_helper: Executing ...

or,

netsock2.c:                    Using SIP RTP CoS mark 5
netsock2.c:661 in ast_set_qos: Using SIP RTP CoS mark 5

(I have aligned them for better readability)

How can I get rid of the unwanted extra information ?

thanks,

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to