[asterisk-bugs] [JIRA] (ASTERISK-28881) Optional to reduce log verbosity by selectively disabling missing/invalid subscriptions

Asterisk Team (JIRA) noreply at issues.asterisk.org
Sun May 10 15:37:25 CDT 2020


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

Asterisk Team commented on ASTERISK-28881:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur.

> Optional to reduce log verbosity by selectively disabling missing/invalid subscriptions
> ---------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-28881
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28881
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: pjproject/pjsip
>    Affects Versions: 16.10.0, 17.4.0
>         Environment: On large, especially multi-tenant systems where endpoints may not be completely under the control of the server, there exists the possibility for massive amounts of 'log noise' coming from endpoints subscribing to targets that don't exist.
> When one wishes to keep logging verbosity on, but wants to avoid logging things that our beyond the influence of the server, it would be quite useful to be able to quash certain messages.
>            Reporter: Mark Murawski
>            Severity: Minor
>
> The attached patch adds the endpoint option: log_subscription_error to pjsip.
> To maintain default expected behavior and backwards compatibility, the default is 'yes'.
> [2020-05-10 16:31:16.266] NOTICE[29869]: res_pjsip_exten_state.c:419 new_subscribe: Endpoint '1010' state subscription failed: Extension '5504' does not exist in context 'blf' or has no associated hint
> [2020-05-10 16:31:16.777] NOTICE[29869]: res_pjsip_exten_state.c:419 new_subscribe: Endpoint '1010' state subscription failed: Extension '5515' does not exist in context 'blf' or has no associated hint
> [2020-05-10 16:31:17.777] NOTICE[29869]: res_pjsip_exten_state.c:419 new_subscribe: Endpoint '1010' state subscription failed: Extension '3020' does not exist in context 'blf' or has no associated hint
> [2020-05-10 16:31:22.777] NOTICE[29869]: res_pjsip_exten_state.c:419 new_subscribe: Endpoint '1010' state subscription failed: Extension '5509' does not exist in context 'blf' or has no associated hint
> [2020-05-10 16:31:23.780] NOTICE[29869]: res_pjsip_exten_state.c:419 new_subscribe: Endpoint '1010' state subscription failed: Extension '5515' does not exist in context 'blf' or has no associated hint
> [2020-05-10 16:31:24.265] NOTICE[29869]: res_pjsip_exten_state.c:419 new_subscribe: Endpoint '1010' state subscription failed: Extension '5505' does not exist in context 'blf' or has no associated hint
> [2020-05-10 16:31:29.777] NOTICE[29869]: res_pjsip_exten_state.c:419 new_subscribe: Endpoint '1010' state subscription failed: Extension '5509' does not exist in context 'blf' or has no associated hint
> [2020-05-10 16:31:30.266] NOTICE[29869]: res_pjsip_exten_state.c:419 new_subscribe: Endpoint '1010' state subscription failed: Extension '5504' does not exist in context 'blf' or has no associated hint
> [2020-05-10 16:31:31.265] NOTICE[29869]: res_pjsip_exten_state.c:419 new_subscribe: Endpoint '1010' state subscription failed: Extension '5505' does not exist in context 'blf' or has no associated hint
> [2020-05-10 16:31:31.780] NOTICE[29869]: res_pjsip_exten_state.c:419 new_subscribe: Endpoint '1010' state subscription failed: Extension '3020' does not exist in context 'blf' or has no associated hint
> [2020-05-10 16:31:37.265] NOTICE[29869]: res_pjsip_exten_state.c:419 new_subscribe: Endpoint '1010' state subscription failed: Extension '5504' does not exist in context 'blf' or has no associated hint
> [2020-05-10 16:31:37.776] NOTICE[29869]: res_pjsip_exten_state.c:419 new_subscribe: Endpoint '1010' state subscription failed: Extension '5515' does not exist in context 'blf' or has no associated hint
> [2020-05-10 16:31:38.776] NOTICE[29869]: res_pjsip_exten_state.c:419 new_subscribe: Endpoint '1010' state subscription failed: Extension '3020' does not exist in context 'blf' or has no associated hint
> [2020-05-10 16:31:43.780] NOTICE[29869]: res_pjsip_exten_state.c:419 new_subscribe: Endpoint '1010' state subscription failed: Extension '5509' does not exist in context 'blf' or has no associated hint
> [2020-05-10 16:31:44.777] NOTICE[29869]: res_pjsip_exten_state.c:419 new_subscribe: Endpoint '1010' state subscription failed: Extension '5515' does not exist in context 'blf' or has no associated hint
> [2020-05-10 16:31:45.265] NOTICE[29869]: res_pjsip_exten_state.c:419 new_subscribe: Endpoint '1010' state subscription failed: Extension '5505' does not exist in context 'blf' or has no associated hint
> After applying log_subscription_error=no to the default pjsip wizard, none of the above messages would be logged.



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



More information about the asterisk-bugs mailing list