Reputation: 3488
Using legacy grails 2.2 In the config environments I have set the debug to be app wide
test{
log4j={
root{
error 'stdout'
debug 'stdout'
}
debug 'grails.app'
}
}
I have the parameter
-echoOut
in the command line options.
But if I run a test case with a log.debug somewhere in the chain, I get nothing in the console or in the generated report. What am I missing?
Upvotes: 1
Views: 414
Reputation: 1153
You can solve this by adding your apps package name to debug 'grails.app' like debug 'stdout': ['grails.app', 'your.package']
Upvotes: 1