add default loglevel for mod_console

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7516 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2008-02-04 18:22:29 +00:00
parent 54f2397f4d
commit 50c2d0a0bb
2 changed files with 4 additions and 0 deletions

View File

@ -11,5 +11,6 @@
<settings> <settings>
<!-- comment or set to false for no color logging --> <!-- comment or set to false for no color logging -->
<param name="colorize" value="true"/> <param name="colorize" value="true"/>
<param name="loglevel" value="info"/>
</settings> </settings>
</configuration> </configuration>

View File

@ -139,6 +139,9 @@ static switch_status_t config_logger(void)
COLORIZE = 1; COLORIZE = 1;
#endif #endif
} }
if (!strcasecmp(var, "loglevel")) {
hard_log_level = switch_log_str2level(val);
}
} }
} }