Glassfish 3.1.1 suddenly stopped writing to server.log

后端 未结 1 1445
走了就别回头了
走了就别回头了 2021-01-05 06:21

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 re

相关标签:
1条回答
  • 2021-01-05 07:07

    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.

    0 讨论(0)
提交回复
热议问题