/**
* We have some special logging classes to maintain an optional dependence
* on commons-logging. This sets the servlet for when this is not available.
* @param servletConfig The servlet configuration
* @param servlet The servlet that we are running under
*/
public static void setupLogging(ServletConfig servletConfig, HttpServlet servlet)
{
ServletLoggingOutput.setExecutionContext(servlet);
String logLevel = servletConfig.getInitParameter(ContainerUtil.INIT_LOGLEVEL);
if (logLevel != null)
{
ServletLoggingOutput.setLevel(logLevel);
}
}
StartupUtil.java 文件源码
java
阅读 76
收藏 0
点赞 0
评论 0
项目:parabuild-ci
作者:
评论列表
文章目录