I use Jboss 6 and my
static Logger logger = Logger.getLogger(Foo.class);
displays nothing
Tried adding log4 to my project, removing it, placing a log4j file on my main/resources folder, placing no log4j file and no results.
Only System.Out seems to work, but it doesn’t provide all the information I would like to see
I even see Hibernate log working but not mine
What am I missing?
Turns out my logging does work. Hibernate logging is controlled by the jboss logging settings.
My logging began to work as soon as I placed the log4j on right next to the classes folder, and placing log4j jar with the project