This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to disable logging in server.log

 
Itsme Raja
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic