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 V Jayakumar <vj...@hotmail.com> on 2006/05/18 12:59:36 UTC

Is it possible to log the sequence number

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