I'm working on a servlet project where all classes invoked by the http servlet need to log some warnings and errors. At this time, i'm passing a log file (ie a PrintWriter wrapped in a small class) to every method i invoke. It is a bit heavy. I was thinking about creating a log class as a singleton and then getting an instance of that class in the methods that require it. Is that a better approch? Is there another one i'm not considering? ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
