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

George Joseph asteriskteam at digium.com
Tue Aug 25 08:30:44 CDT 2020


Hello Joshua Colp, 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 (#5).

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
file, function and line number if available (even for verbose
messages) and never prints color control characters.  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, 67 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/37/14737/5
-- 
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: 5
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200825/c1b5cf12/attachment.html>


More information about the asterisk-code-review mailing list