1

我的 glassfish server.log 不断被填满

[#|2012-04-18T16:17:15.732+0100|WARNING|glassfish3.0.1|com.sun.xml.ws.wstx.wscoord|_ThreadID=20;_ThreadName=Thread-1;|WSTX-CLIENT-1001: WS-TX service is not available. Unable to flow a WS-Atomic Transaction Context for web service invocation of operation '{http://localhost/}checkSession' from current container|#]

我的应用程序都没有使用它,而且在日志文件中过滤它非常烦人。

有谁知道如何以任何方式禁用它?

4

1 回答 1

1

我知道这个线程较旧,但这是响应。

将以下行添加到您的domain/config/logging.properties文件中:

com.sun.xml.ws.wstx.wscoord.level=SEVERE

您可以使用任何类日志执行此操作,只需获取名称类(com.sun.xml.ws.wstx.wscoord在本例中)并添加.level=LOG_LEVEL您想要的。

于 2012-12-19T12:07:56.387 回答