logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Spranger, Steffen" <Steffen.Spran...@gft-systems.de>
Subject Keeping debug-logs in error case
Date Thu, 05 Feb 2004 12:01:32 GMT

Hallo,

I log communication to an external system with e.g. logger.debug(...).
In a catch-block I log errors by logger.error(...).

What I want is, not to keep all the debug-messages in good case, but =
keeping them in an error-case.

I'm wondering if log4j can be configured (or our log statements =
organized) to do so?
And if it does, how?



Best regards
	Steffen Spranger



---------------------------------------------------------------------
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