log4j in grails : how to log into file?

前端 未结 3 1305
Happy的楠姐
Happy的楠姐 2021-02-09 10:45

I have this log4j configuration in my grails config.groovy

log4j = {
    error  \'org.codehaus.groovy.grails.web.servlet\',  //  controllers
                   \         


        
3条回答
  •  面向向阳花
    2021-02-09 10:51

    just got answer from the grails' mailing list:

    i just need to add

    debug "grails.app"

    bellow warn "org.mortbay.log"

    case closed ! :)

提交回复
热议问题