-
-
Save lcuevastodoit/c06a8cb9a30fc9df8a9e83e487959752 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def logDirectory = "${thb.settings.thbHome}/logs" | |
log4j = { | |
appenders { | |
file name: "file", threshold: Level.ERROR, file: "${logDirectory}/${appName}-error.log".toString() | |
file name: "infoFile", threshold: Level.INFO, file: "${logDirectory}/${appName}-info.log".toString() | |
console name: "stdout", threshold: Level.DEBUG | |
} | |
root { | |
error 'file' | |
info 'infoFile' | |
debug 'stdout' | |
additivity = true | |
} | |
error 'org.codehaus.groovy.grails.web.servlet', // controllers | |
'org.codehaus.groovy.grails.web.pages', // GSP | |
'org.codehaus.groovy.grails.web.sitemesh', // layouts | |
'org.codehaus.groovy.grails.web.mapping.filter', // URL mapping | |
'org.codehaus.groovy.grails.web.mapping', // URL mapping | |
'org.codehaus.groovy.grails.commons', // core / classloading | |
stdout: 'org.codehaus.groovy.grails.plugins', // plugins | |
'org.codehaus.groovy.grails.orm.hibernate', //hibernate integration | |
'org.springframework', | |
'org.hibernate', | |
'com.wbr.highbar' | |
warn 'org.mortbay.log' | |
debug 'com.wbr.highbar' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment