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

Ludovic Gasc (Eyepea) (JIRA) noreply at issues.asterisk.org
Tue Jun 27 04:58:57 CDT 2017


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

Ludovic Gasc (Eyepea) commented on ASTERISK-27084:
--------------------------------------------------

> I've never heard this complaint before,

It's "normal": Contrary several users, we use asterisk dialplan as storage for some data that don't change often: We generate some parts on the fly because Asterisk is very efficient to re-read dialplan and it enables us to increase the number of devices by Asterisk.

However, the "drawback", it's necessary to reload to apply new configuration, it's that that generates too much logs.
We know also it seems possible to update dialplan on the fly, but not yet tested.

> It is always better if we can avoid adding further options I think, to minimize the inflation of configuration over time.

I'm agree with you.

> Would you like to create a patch instead to push the priority of the log message lower , to say level 4 or 5?

If it's ok for you to increase the log level of these messages, it's clearly an option we prefer.

> If you agree, then go ahead and create the new patch and submit it to Gerrit. If others have a problem with it then you'll find out there.

Ok, we will do that.

> [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
>         Environment: Debian 8
>            Reporter: Ludovic Gasc (Eyepea)
>            Assignee: Ludovic Gasc (Eyepea)
>            Severity: Trivial
>         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