玻璃鱼伐木突然停止
我们在 Linux 机器中运行许多 glassfish 实例,突然它们停止记录(创建了一个空白的 server.log 文件,并且没有附加任何记录数据)。
它发生在大约一周的正常记录之后。
我该如何修复它?
我如何诊断问题 - 有类似记录器内部日志的内容:p-?
We're running many instances of glassfish in a linux box and suddenly they stop logging (a blank server.log file is created and no logging data is appended to it).
it happens after something like a week of normal logging.
How can I fix it?
How can I diagnose the problem -there's something like a log of the logger internals :p-?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
检查域的日志记录属性 (domain-dir/config/logging.properties)。如果没有记录任何内容,则 GFFileHandler 日志记录级别可能会设置为“OFF”(Glassfish-18205 bug )。
尝试使用 CLI 将其设置为不同的级别:
在 glassfish 中使用日志记录级别时有时会发生这种情况。
Check the logging properties of your domain (domain-dir/config/logging.properties). If there is nothing logged at all the GFFileHandler logging level might be set to "OFF" (Glassfish-18205 bug).
Try to set it to a different level with CLI:
This sometimes happens while playing with logging levels in glassfish.