Document

解决方法:

WEB-INF/classes目录下新建一个文件叫logging.properties,截图如下:

代码如下:

 1 handlers=org.apache.juli.FileHandler,java.util.logging.ConsoleHandler
 2 ############################################################
 3 #Handler specific properties.
 4 # Describes specific configuration info for Handlers.
 5 ############################################################
 6 org.apache.juli.FileHandler.level=FINE
 7 org.apache.juli.FileHandler.directory=${catalina.base}/logs
 8 org.apache.juli.FileHandler.prefix=error-debug.
 9 java.util.logging.ConsoleHandler.level=FINE
10 java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter
View Code

参考网址:

https://blog.csdn.net/zhangjunli/article/details/80888362

http://grails.1312388.n4.nabble.com/Deployment-problems-td4628710.html

原文地址:https://www.cnblogs.com/chenyanlong/p/10699498.html