You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by "McKinnon, Cory" <Co...@xwave.com> on 2002/07/30 15:31:56 UTC
Help with Log4j automatic header generataion
Hi,
I am simply prototyping a very small Log4j application, however, one of the
requirements we must prove to the client is for an automatic header
generation
for the log messages. Example:
DATE FUNC CLASS / LINE NUMBER LVL
MESSAGE
2002-07-29 15:26:08,086 [main] (log4jexample.TestLogging : 16) DEBUG -
message1
2002-07-29 15:26:08,101 [main] (log4jexample.TestLogging : 17) INFO -
message
2002-07-29 15:26:08,101 [main] (log4jexample.TestLogging : 18) WARN -
message3
2002-07-29 15:26:08,101 [main] (log4jexample.TestLogging : 19) ERROR -
message4
2002-07-29 15:26:08,164 [main] (log4jexample.TestLogging : 20) FATAL -
message5
Any help is much appreciated.
Cheers,
Cory