提交 50c2d0a0 authored 作者: Brian West's avatar Brian West

add default loglevel for mod_console

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7516 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 54f2397f
......@@ -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);
}
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论