This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Urlybird 1.1.1 logging 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 » Certification » Developer Certification (SCJD/OCMJD)
Reply Bookmark "Urlybird 1.1.1 logging" Watch "Urlybird 1.1.1 logging" New topic
Author

Urlybird 1.1.1 logging

Alenkhe David
Greenhorn

Joined: Jul 31, 2008
Posts: 20
I am planing on a singleton logger class, that other classes can call to get an instance for logging purposes. Also would want to dump log records to file.

Any thoughts?

Thanks.


Jesus Regins..
satishkumar janakiraman
Ranch Hand

Joined: May 03, 2004
Posts: 334
Hi David,

Singleton is a best choice for cache, logger etc. Multiple instances of cache/logger will create complexity in the application.


sat
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Urlybird 1.1.1 logging
 
Similar Threads
log4j apache common logging
Class Instance being overwritten by new Instance
where to get info about commons logging, log4j and java.util.logging....
Sub Level Logging
gonna see a man about a horse