开发者

Logging configuration completely ignored in Config.groovy when deployed as a war?

开发者 https://www.devze.com 2023-03-23 21:05 出处:网络
When I run my application with run-app, logging seems to work correctly. When 开发者_JS百科I deploy as a WAR in tomcat, all my logging configuration is ignored, and I only see

When I run my application with run-app, logging seems to work correctly. When 开发者_JS百科I deploy as a WAR in tomcat, all my logging configuration is ignored, and I only see

LOGLEVEL logmessage

Example:

INFO Hello world

What could possibly be causing this? I tried deleting tomcat's logging.properties, but that didn't seem to do anything.


Even after wiping the logging entirely, I still see this in catalina.out, while my logs to a log file are written correctly. A plugin or library, likely, is screwing up my logging, but tracing it down at this point isn't worth it.

0

精彩评论

暂无评论...
验证码 换一张
取 消