I have a grails app (v 1.1.2) the logging is working fine from the groovy classes, but I can't get it to work from within a java source...
I have a class in package com.mforms.devices., it imports apache log4j, defines the logger as follows
private final org.apache.log4j.Logger loggy = Logger.getLogger(this.getClass());
then refer to it later by doing loggy.error("...")
my Config.groovy has the following
log4j = {
error 'com.mforms'
root {
error 'stdout', 'file'
additivity = true
}
}
What am I doing wrong?!?!