This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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