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 Ma...@Dell.com on 2001/01/23 20:51:23 UTC
feature request: file configuration feature
Greetings log4j users,
I am using a delimeter in my log file ("|"), and require having a delimeter
at the end of an entry, as this is the only way for me to know I am at the
end of a logging statement. I cannot go by the end of the line because
logging throwables spans multiple lines. It would be helpful if in the
configuration file I was able to specify the location of the throwable's
stack trace to write to.
my current Pattern Layout using a "|" as a delimeter:
log4j.appender.R.layout.ConversionPattern=%5p|%d{ISO8601}|%m|%n
It would be useful to have full control of the logging format by being able
to place the Throwable and, therefore, be able to place a "|" at the end of
the stack trace.
log4j.appender.R.layout.ConversionPattern=%5p|%d{ISO8601}|%m|%throwable|%n
--matt