You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-user@logging.apache.org by Assaf Lavie <as...@gmail.com> on 2009/05/19 08:41:38 UTC

configure formatting per log level

Is it possible, for example, to configure different formatting patterns for
ERROR as opposed to INFO?
What I mean is that I want ERROR messages in the log to contain lots of
extra data, like file and line number, etc. But for INFO messages fewer
fields are needed (perhaps just time and message).

Is this configurable?

Thanks,
Assaf