[asterisk-dev] [Code Review] 3279: Iterate through logger.conf [general] section
Matt Jordan
reviewboard at asterisk.org
Fri Feb 28 06:51:41 CST 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3279/#review10991
-----------------------------------------------------------
I'm not sure I understand the need for this patch.
Setting a configuration option twice - when that option doesn't support being set multiple times - would generally have undefined behaviour. Your patch changes it so that Asterisk reads the last defined value, as opposed to the first. How is that better?
- Matt Jordan
On Feb. 27, 2014, 7:44 p.m., Paul Belanger wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/3279/
> -----------------------------------------------------------
>
> (Updated Feb. 27, 2014, 7:44 p.m.)
>
>
> Review request for Asterisk Developers.
>
>
> Repository: Asterisk
>
>
> Description
> -------
>
> This patch allows you to override the [general] section of logger.conf, making it the same functionality as the [logfiles] sections.
>
>
> Diffs
> -----
>
> trunk/main/logger.c 409111
>
> Diff: https://reviewboard.asterisk.org/r/3279/diff/
>
>
> Testing
> -------
>
> local development. Setup
>
> [general]
> queue_log = no
> queue_log = yes
>
> Queue logfiles were created.
>
>
> Thanks,
>
> Paul Belanger
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140228/cddfaeef/attachment.html>
More information about the asterisk-dev
mailing list