[Asterisk-code-review] res_pjsip_logger: Preserve logging state on reloads. (asterisk[master])

N A asteriskteam at digium.com
Thu Dec 22 07:23:18 CST 2022


Attention is currently required from: Joshua Colp.

Hello Friendly Automation, 

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

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

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

Change subject: res_pjsip_logger: Preserve logging state on reloads.
......................................................................

res_pjsip_logger: Preserve logging state on reloads.

Currently, reloading res_pjsip will cause logging
to be disabled. This is because logging can also
be controlled via the debug option in pjsip.conf
and this defaults to "no".

To improve this, logging is no longer disabled on
reloads if logging had not been previously
enabled using the debug option from the config.
This ensures that logging enabled from the CLI
will persist through a reload.

ASTERISK-29912 #close

Change-Id: I0be7d90e7007f5a6bc4a1cb75019fbaeb18428da
---
A doc/CHANGES-staging/res_pjsip_logger_debug.txt
M res/res_pjsip_logger.c
2 files changed, 43 insertions(+), 1 deletion(-)


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

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I0be7d90e7007f5a6bc4a1cb75019fbaeb18428da
Gerrit-Change-Number: 19575
Gerrit-PatchSet: 2
Gerrit-Owner: N A <asterisk at phreaknet.org>
Gerrit-Reviewer: Friendly Automation
Gerrit-CC: Joshua Colp <jcolp at sangoma.com>
Gerrit-Attention: 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/20221222/7e15313c/attachment-0001.html>


More information about the asterisk-code-review mailing list