This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes How to disable logging in server.log Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "How to disable logging in server.log" Watch "How to disable logging in server.log" New topic
Author

How to disable logging in server.log

Itsme Raja
Greenhorn

Joined: Oct 29, 2010
Posts: 1
Hi,

I have used log4j properties for logging in my application. I have written the logs in a log file successfully. The problem is that now all those log messages are written in default server.log also, which is not needed as it is redundant. Is there any log4j property to disable writing logs to server.log?

Thanks in advance for help.

Raja
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to disable logging in server.log
 
Similar Threads
logging in one file only
remove log4j appender from an API
Disable struts logging
How do I declare a resource in my jboss-web.xml file?
JBoss 6.1.0.Final Application Specific logging