logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "V Jayakumar" <...@hotmail.com>
Subject Is it possible to log the sequence number
Date Thu, 18 May 2006 10:59:36 GMT
Is there any conversion character which would help to log the sequence 
number of the message in the log file ?

For example, my code looks something like,

logger.log ("Aloha");
logger.log ("Hello There");

I want the output in the log file as

1 Aloha
2 Hello There

Thanks in advance for your help.



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


Mime
View raw message