forked from Mirrors/freeswitch
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:
parent
54f2397f4d
commit
50c2d0a0bb
@ -11,5 +11,6 @@
|
||||
<settings>
|
||||
<!-- comment or set to false for no color logging -->
|
||||
<param name="colorize" value="true"/>
|
||||
<param name="loglevel" value="info"/>
|
||||
</settings>
|
||||
</configuration>
|
||||
|
@ -139,6 +139,9 @@ static switch_status_t config_logger(void)
|
||||
COLORIZE = 1;
|
||||
#endif
|
||||
}
|
||||
if (!strcasecmp(var, "loglevel")) {
|
||||
hard_log_level = switch_log_str2level(val);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user