[asterisk-bugs] [JIRA] (ASTERISK-27084) [patch] Ability to have a custom log level for extensions during reload

Benoît Dereck-Tricot (JIRA) noreply at issues.asterisk.org
Fri Jan 12 00:25:39 CST 2018


    [ https://issues.asterisk.org/jira/browse/ASTERISK-27084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=241486#comment-241486 ] 

Benoît Dereck-Tricot commented on ASTERISK-27084:
-------------------------------------------------

When I left Ludovic yesterday, he understood Joshua's reaction in Gerrit and told me to suggest a change in master only.
I told him that I will, and at the same time, I'll provide an adapted patch which adds an option in the config file.

I simplified the option, which is now boolean, much easier to understand and, of course, defaulting to the previous behavior.

He should have been right, because Joshua Colp came to the same idea, but as I already did it anyway, I just submitted it.

Feel free to ignore it or use it in master.


> [patch] Ability to have a custom log level for extensions during reload
> -----------------------------------------------------------------------
>
>                 Key: ASTERISK-27084
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27084
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: PBX/pbx_config
>    Affects Versions: 13.16.0, 15.2.0
>         Environment: Debian 8
>            Reporter: Ludovic Gasc (Eyepea)
>            Assignee: Unassigned
>            Severity: Trivial
>              Labels: patch
>         Attachments: extensions_adding_log_level.patch
>
>
> In the actual version of Asterisk, you need a log level of 3 to track a call via logs.
> But at the same time, each time you reload the dialplan, you have a lot of messages like that are present because it's also at level 3:
> Added extension 'XXXXX' priority 1 to YYYYYYYYYYY
> It isn't useful logs for us.
> This patch enables to customize the log level via the configuration file.
> Thanks for your feedback.
> Ps: If you plan to simply change the priority level of this log, it's also good to us: At least for us, these logs are less critical that runtime calls.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list