File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Android Security Essentials Live Lessons this week in the Android 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
 
 
subject: How to disable logging in server.log
 
Similar Threads
remove log4j appender from an API
How do I declare a resource in my jboss-web.xml file?
JBoss 6.1.0.Final Application Specific logging
logging in one file only
Disable struts logging