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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Reply 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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to disable logging in server.log
 
Similar Threads
Disable struts logging
logging in one file only
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