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 OOMS DIRK <Ex...@siemens.be> on 2005/02/24 11:35:54 UTC

PatternLayout to LogFilePatternReceiver.logFormat conversion

Did anyone write a general conversion function that he/she wants to share?

A function that converts strings like:
%d %-5p [%t] %C{2} (%F:%L) - %m%n
To:
TIMESTAMP LEVEL [THREAD] CLASS (FILE:LINE) - MESSAGE

cheers,
dirk

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