解決方法:
WEB-INF/classes目錄下新建一個文件叫logging.properties,截圖以下:html
代碼以下:java
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)
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
參考網址:apache
https://blog.csdn.net/zhangjunli/article/details/80888362ide
http://grails.1312388.n4.nabble.com/Deployment-problems-td4628710.htmlspa