Glassfish 3.1.1 suddenly stopped writing on server.log

I changed one of the log levels in the admin console, and Glassfish 3.1.1 stopped writing anything to domain1 / logs / server.log. I have since returned the change and tried to restart the server a couple of times. Here is the last thing he registered:

[#|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? |#] 
+5
source share
1 answer

You may have encountered Error Glassfish-18205 . The GFFileHandler logging level can be set to β€œOFF”.

Try setting it to a different level using the CLI:

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

You can also use the administrator console, but the drop-down menu there does not allow you to select the "ALL" log level (although this is a valid log level). Choose one of the other options.

+9
source

Source: https://habr.com/ru/post/915089/


All Articles