Glassfish采伐突然停止 [英] Glassfish logging suddenly stops
问题描述
它发生在像正常日志记录一周之后。
我该如何解决它?
如何诊断问题 - 有什么像记录器内部日志:p - ?
检查记录属性(domain-dir / config / logging.properties)。如果没有任何记录,GFFileHandler日志记录级别可能会设置为OFF( Glassfish-18205 bug )。
尝试使用CLI将其设置为不同级别:
asadmin set -log-levels
com.sun.enterprise.server.logging.GFFileHandler = ALL
这有时会发生在玩记录玻璃鱼的水平。
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-?
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:
asadmin set-log-levels com.sun.enterprise.server.logging.GFFileHandler=ALL
This sometimes happens while playing with logging levels in glassfish.
这篇关于Glassfish采伐突然停止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!