|
Hello,
I configured my application specific Log4J configuration file and loaded it using the PropertyConfigurator.configure() method. I defined console and file appenders that conflicted with the JBOSS use of Log4J. This showed up as a looping error in the server's console output.
So, I created a new category in JBOSS and assigned my console and file appenders to the new category. In my application, instead of calling Logger.logDebug(...), I call Category.debug(...). So I am logging to my category vs. the logger's root category.
This works, but it appends my output to the JBOSS logging. So JBOSS's server log will have an stdout info message with my [DEBUG] message appended to the end.
Not sure if it is important or not, but I turned off addititivity on the logger.
Does anyone on this board tell me why, instead of my application logging adding its own line in the output it gets appended onto the end of a JBOSS stdout [INFO] message?
Thanks This electronic message transmission contains information from the Company that may be proprietary, confidential and/or privileged. The information is intended only for the use of the individual(s) or entity named above. If you are not the intended recipient, be aware that any disclosure, copying or distribution or use of the contents of this information is prohibited. If you have received this electronic transmission in error, please notify the sender immediately by replying to the address listed in the "From:" field. |
- Re: [JBoss-user] JBoss & Log4J Zeev B
- Re: [JBoss-user] JBoss & Log4J Anders Engstr�m
- RE: [JBoss-user] JBoss & Log4J Corbin, James
- RE: [JBoss-user] JBoss & Log4J Corbin, James
- RE: [JBoss-user] JBoss & Log4J Corbin, James
- RE: [JBoss-user] JBoss & Log4J Fred Hartman
- RE: [JBoss-user] JBoss & Log4J Corbin, James
- RE: [JBoss-user] JBoss & Log4J Corbin, James
- RE: [JBoss-user] JBoss & Log4J Corbin, James
- Corbin, James
