1 posts in topic
Flat View  Flat View

Posted By:   Sath_Bob
Posted On:   Monday, November 29, 2004 05:41 PM

I have a question on using Logger instance.

We have Java application(with 15 classes).

Is it better to create a Logger instance
(static Logger log = Logger.getLogger(x.class)) in
each class for logging?

Will there be any problems if we have more than one
logger instance in an applcation.

Please advise.

Re: Logger

Posted By:   Anonymous  
Posted On:   Tuesday, November 30, 2004 03:15 AM

It´s not unusual to have multiple logger. To be more precise: it is common to have multiple. With using multiple loggers you define how fine you can configure the logging ability of your application.
About | Sitemap | Contact