mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-21 02:34:16 +00:00
Lower log level of limit increases and releases
In some configurations where many limits are used, the limit increases and releases were generating a lot of noise and making it harder to see when limits were exceeded, which was at the same log level.
This commit is contained in:
1 parent
5a209a9680
commit
dc88617c99
3 files changed
+8
-8
No files matched your search
+1
-1
@@ -123,7 +123,7 @@ SWITCH_DECLARE(switch_status_t) switch_limit_incr(const char *backend, switch_co
|
||||
switch_goto_status(SWITCH_STATUS_GENERR, end);
|
||||
}
|
||||
|
||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_INFO, "incr called: %s_%s max:%d, interval:%d\n",
|
||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "incr called: %s_%s max:%d, interval:%d\n",
|
||||
realm, resource, max, interval);
|
||||
|
||||
if ((status = limit->incr(session, realm, resource, max, interval)) == SWITCH_STATUS_SUCCESS) {
|
||||
|
||||
Reference in new issue
Block a user