another crank on the can opener for the big can o worms

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15584 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale committed 2009-11-20 23:12:07 +00:00
1 parent 579bb3e7c4
commit 04889efc17
7 files changed
+159 -18

No files matched your search

+8
View File
@@ -340,6 +340,14 @@ SWITCH_DECLARE(void) switch_log_vprintf(switch_text_channel_t channel, const cha
const char *extra_fmt = "%s [%s] %s:%d%c%s";
#endif
if (level > 100) {
if (level - 100 > runtime.debug_level) {
return;
}
level = 7;
}
if (level > runtime.hard_log_level) {
return;
}