[Asterisk-code-review] logger.c: Added a new log formatter called "debug" (asterisk[certified/16.8])

George Joseph asteriskteam at digium.com
Thu Aug 20 14:07:04 CDT 2020


Hello Friendly Automation, 

I'd like you to reexamine a change. Please visit

    https://gerrit.asterisk.org/c/asterisk/+/14737

to look at the new patch set (#2).

Change subject: logger.c: Added a new log formatter called "debug"
......................................................................

logger.c: Added a new log formatter called "debug"

Added a new log formatter called "debug" that always prints
function and line number if available and never prints color
control character.  Most suitable for file output but can be
used for other channels as well.

You use it in logger.conf like so:
debug => [debug]debug
console => [debug]error,warning,debug,notice,pjsip_history
messages => [debug]warning,error,verbose

Change-Id: I4fdfe4089f66ce2f9cb29f3005522090dbb5243d
---
M configs/samples/logger.conf.sample
A doc/CHANGES-staging/logger_format.txt
M main/logger.c
3 files changed, 97 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/37/14737/2
-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/14737
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: certified/16.8
Gerrit-Change-Id: I4fdfe4089f66ce2f9cb29f3005522090dbb5243d
Gerrit-Change-Number: 14737
Gerrit-PatchSet: 2
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200820/9d2014c0/attachment.html>


More information about the asterisk-code-review mailing list