Peter Johnson wrote:Add an appender-ref entry to you category entry, like this example which come form JBoss in Action, chapter 2 (JBIA is the name of the appender):
Peter Johnson wrote:Varun, welcome to Java Ranch!
![]()
![]()
Please read this: http://faq.javaranch.com/java/TellTheDetails
If you don't tell us the details all we can say is you did something wrong.
Have you looked at the example I mentioned for JBoss in Action, chapter 2?
Peter Johnson wrote:You are using sl4j? I wonder if that has any bearing on this. Could you post a log entry of two. Perhaps slf4j is logging to stdout, and log4j is capturing that and posting it to the root appender. (The config you gave looks fine to me, pretty much matches what I have.)
What's wrong? Where are you going? Stop! Read this tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
|