无法在Glassfish中禁用“javax.enterprise.system.container.web.com.sun.enterprise.web._vs.server”跟踪

时间:2015-02-20 14:02:38

标签: logging glassfish glassfish-3

我为logger javax.enterprise.system.container.web设置了SEVERE等级。
服务器重新启动 但是此记录器的GF server.log文件中仍有INFO跟踪。

[#|2015-02-20T15:55:24.887+0200|INFO|glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web._vs.server|_ThreadID=1;_ThreadName=Thread-28;|PWC1412: WebModule[null] ServletContext.log():Initializing Spring root WebApplicationContext|#]

是否可以禁用INFO" javax.enterprise.system.container.web"完全没有痕迹?

1 个答案:

答案 0 :(得分:0)

这应该有效,您是否确保在logging.properties文件中正确设置了日志记录级别?也许管理员UI有一个错误。

您可以手动更改文件<GLASSFISH_HOME>/glassfish/domains/domain1/config/logging.properties中的值。

只需将javax.enterprise.system.container.web的值更改为SEVERE并保存文件,这应该即时运行,您不必重新启动Glassfish。

另见:

相关问题