Glassfish 3.1.1 suddenly stopped writing to server.log

一个人想着一个人 提交于 2020-01-21 04:39:45

问题


I changed one of the log levels in the admin console, and Glassfish 3.1.1 stopped writing anything into the domain1/logs/server.log. I since reverted the change and tried restarting the server a couple times. Here's the last thing it logged:

[#|2012-02-20T16:44:53.738-0800|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=46;
_ThreadName=Thread-7;|com.sun.webui.jsf.component.DropDown::The current value of component form1:basicTable:rowGroup1:6:col3:level does not match any of the selections. 
Did you forget to reset the value after changing the options? |#]

回答1:


Maybe you encountered Glassfish-18205 bug. GFFileHandler logging level might be set to "OFF".

Try to set it to a different level with CLI:

asadmin set-log-levels com.sun.enterprise.server.logging.GFFileHandler=ALL

You could use the admin console as well, but the drop down menu there doesn't allow to select the log level "ALL" (although this is a valid log level). Choose one of the other options there.



来源:https://stackoverflow.com/questions/9373629/glassfish-3-1-1-suddenly-stopped-writing-to-server-log

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!