In my application I'm using log4j for logging. The configuration for logging is placed in the JBoss log4j.xml config file. All logging in my application goes well except in one sessionbean.
This bean uses its own logger and its own appender. I have tested this logger and appender in another bean within the same application to make sure there are no errors in the log4j config. After testing this the logging went well, so the configuration is OK.
My question is; how is it possible that this one sessionbean won't log anything. No matter what logger is retrieved, no matter where and how often the logger is retrieved, the logfile stays empty.
Anyone an idea?