logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Erskine <michael.ersk...@ketech.com>
Subject RE: Log4j over several java classes
Date Thu, 05 Nov 2009 09:12:51 GMT
> From: DanyLux [mailto:dany.gilgomes@gmail.com]
> ... So I don't need all time to rewrite 3
> lines or more everytime I want to log something.

You might want to consider the merits or otherwise of making 3 logging calls (hints: performance,
concurrency) when you are clearly logging only one event. If you want more information or
decoration in your log entries then you can use a more elaborate Layout.

Michael Erskine.

To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org

View raw message