This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Logger Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Logger" Watch "Logger" New topic
Author

Logger

Payal Shah
Ranch Hand

Joined: Jul 10, 2006
Posts: 67
Just wanted to share this with everyone. I am turning off logging before submitting the project. I added the following code in my main class that starts the application. It only requires changing one class rather than multiple classes in different package. Logging can easily turn on by commenting the following line.



Hope I am doing it right way

regards,
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Logger
 
Similar Threads
LOG4J
logging runtime exceptions
LOG4J
[Solved]Hierarchy-wide Threshold Filter Doubt [Log4j]
NX: Logging using FileHandler