Glassfish 3.1.1 突然停止写入 server.log

发布于 2025-01-07 22:08:05 字数 501 浏览 2 评论 0原文

我更改了管理控制台中的其中一个日志级别,Glassfish 3.1.1 停止向 domain1/logs/server.log 写入任何内容。此后我恢复了更改并尝试重新启动服务器几次。这是它记录的最后一件事:

[#|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? |#]

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? |#]

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

假装不在乎 2025-01-14 22:08:05

也许您遇到了 Glassfish-18205 bug
GFFileHandler 日志记录级别可能设置为“OFF”。

尝试使用 CLI 将其设置为不同的级别:

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

您也可以使用管理控制台,但那里的下拉菜单不允许选择日志级别“ALL”(尽管这是有效的日志级别)。选择那里的其他选项之一。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文