[Asterisk-code-review] Logging: Add debug logging categories (asterisk[master])

Kevin Harwell asteriskteam at digium.com
Mon Aug 31 16:06:43 CDT 2020


Hello Friendly Automation, 

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

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

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

Change subject: Logging: Add debug logging categories
......................................................................

Logging: Add debug logging categories

Added debug logging categories that allow a user to output debug information
based on a specified category. This lets the user limit, and filter debug
output to data relevant to a particular context, or topic. For instance the
following categories are now available for debug logging purposes:

  dtls, dtls_packet, ice, rtcp, rtcp_packet, rtp, rtp_packet, stun, stun_packet

These debug categories can be enable/disable via an Asterisk CLI command.

While this overrides, and outputs debug data, core system debugging is not
affected by this patch. Statements still output at their appropriate debug
level. As well backwards compatibility has been maintained with past debug
groups that could be enabled using the CLI (e.g. rtpdebug, stundebug, etc.).

ASTERISK-29054 #close

Change-Id: I6e6cb247bb1f01dbf34750b2cd98e5b5b41a1849
---
A doc/CHANGES-staging/logger_category.txt
A include/asterisk/logger_category.h
M main/cli.c
M main/logger.c
A main/logger_category.c
M main/stun.c
M res/res_pjsip_sdp_rtp.c
M res/res_rtp_asterisk.c
8 files changed, 917 insertions(+), 201 deletions(-)


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

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I6e6cb247bb1f01dbf34750b2cd98e5b5b41a1849
Gerrit-Change-Number: 14887
Gerrit-PatchSet: 2
Gerrit-Owner: Kevin Harwell <kharwell 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/20200831/50f4660b/attachment.html>


More information about the asterisk-code-review mailing list