How can we specify were log4j has to look at when trying to find its xml configuration file ?
It seems that by default, log4j looks into the root of a class folder,
I don't have any error
So log4j is finding your configuration, otherwise you would get:
log4j:WARN No appenders could be found for logger ().
log4j:WARN Please initialize the log4j system properly.
Also:
The log are just printed out on the console
So that means that you probably need to define a file appender, like FileAppender or RollingFileAppender. The "Configuration" section on the short intro has a few examples.