Revision
14275
Author
mrene
Date
2009-07-16 12:57:56 -0500 (Thu, 16 Jul 2009)

Log Message

mod_limit: Move over-limit messages down to INFO (MODAPP-308)

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/applications/mod_limit/mod_limit.c (14274 => 14275)


--- freeswitch/trunk/src/mod/applications/mod_limit/mod_limit.c	2009-07-16 17:08:04 UTC (rev 14274)
+++ freeswitch/trunk/src/mod/applications/mod_limit/mod_limit.c	2009-07-16 17:57:56 UTC (rev 14275)
@@ -953,7 +953,7 @@
 			item->rate_usage++;
 			
 			if ((max >= 0) && (item->rate_usage > (uint32_t)max)) {
-				switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Usage for %s exceeds maximum rate of %d/%ds, now at %d\n", hashkey, max, interval, item->rate_usage);
+				switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Usage for %s exceeds maximum rate of %d/%ds, now at %d\n", hashkey, max, interval, item->rate_usage);
 				if (*xfer_exten == '!') {
 					switch_channel_hangup(channel, switch_channel_str2cause(xfer_exten+1));
 				} else {
@@ -963,7 +963,7 @@
 			}
 		}
 	} else if ((max >= 0) && (item->total_usage + increment > (uint32_t)max)) {
-		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Usage for %s is already at max value (%d)\n", hashkey, item->total_usage);
+		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Usage for %s is already at max value (%d)\n", hashkey, item->total_usage);
 		if (*xfer_exten == '!') {
 			switch_channel_hangup(channel, switch_channel_str2cause(xfer_exten+1));
 		} else {