problem with stacktrace.log while deploying grails app

后端 未结 3 1326
醉话见心
醉话见心 2021-01-02 08:45

i\'ve problem with the deployment of an grails app.

i get the following exception:

log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundEx         


        
3条回答
  •  渐次进展
    2021-01-02 09:08

    I ran into a similar issue with Grails 1.3.7 and found this fixed it (by pushing the stack trace log into the standard logging directory)

    log4j = {
        appenders {
        rollingFile name: "stacktrace", maxFileSize: 1024, file: "/var/logs/piws-stacktrace.log"
        ....
    

提交回复
热议问题