On Jun 12, 2008, at 10:56 AM, Jiri Pejchal wrote:
Hi,
is there any real difference between getting logger each time a
message is being logged by calling Logger.getLogger() :
Logger.getLogger(getClass()).info("message");
and putting logger as a class member:
final Logger logger = Logger.get
Richard J. Barbalace wrote the following in the "best practises" thread:
---
[...] Do NOT log valuable information.
By valuable, I mean information that has value to the organization or the users,
as opposed to the developers. For instance, in medical applications
Thank you for writing this guide. I think it is a good start, and could be
expanded some.
> Separate files for different areas of interest
While the focus here appears to be on logging for the developer with the
intention of debugging or diagnosing problems, I think it is very important to
point
Hi,
is there any real difference between getting logger each time a
message is being logged by calling Logger.getLogger() :
Logger.getLogger(getClass()).info("message");
and putting logger as a class member:
final Logger logger = Logger.getLogger(getClass());
and than in methods use:
logger.i
Hello,
I'm using Log4j 1.2.15 along with Log4j extras companion. We use the extras
because I want to use RollingFileAppender and then compress the file once it
is rolled over.
I also need to provide an interface to dynamically change log configuration,
(MaxFileSize, Number Of rolled over files (M