[asterisk-dev] [Code Review] 3185: Logger: Allow creation and removal of dynamic logger channels
opticron
reviewboard at asterisk.org
Fri Feb 7 10:47:32 CST 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3185/
-----------------------------------------------------------
(Updated Feb. 7, 2014, 10:47 a.m.)
Review request for Asterisk Developers.
Changes
-------
Add field to logchannel for specifying dynamic creation and use it instead of repurposing lineno.
Bugs: AST-1150
https://issues.asterisk.org/jira/browse/AST-1150
Repository: Asterisk
Description
-------
This adds the ability to dynamically add and remove logger channels from Asterisk via the CLI.
Diffs (updated)
-----
trunk/main/logger.c 407459
Diff: https://reviewboard.asterisk.org/r/3185/diff/
Testing
-------
Verified that the logs created this way showed up where expected containing the correct logging levels.
"logger add channel /tmp/testchannel warning,error,verbose,notice"
"logger remove channel /tmp/testchannel"
Thanks,
opticron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140207/1411b70e/attachment.html>
More information about the asterisk-dev
mailing list