Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Glassfish 3.1.1 suddenly stopped writing to server.log

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? |#]
like image 341
Dmitry Chornyi Avatar asked Feb 21 '12 07:02

Dmitry Chornyi


1 Answers

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.

like image 57
Matt Handy Avatar answered Sep 23 '22 02:09

Matt Handy