How to get caught exceptions of my application in the Glassfish 2.1 server log?

主宰稳场 提交于 2019-12-01 01:21:07

Glassfish 2.1 logs via java.util.logging. Logging content, by default, is collected in

[Glassfish root]/domains/[domain name]/logs/server.log

For configuring j.u.l, find the logging.properties file in the JRE that is used to run Glassfish (in the lib directory), set your topics' (loggers') levels to desired granularity.

Note: that worked for me for an application using Apache Commons Logging, running on Glassfish.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!