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 "Lu, David" <dl...@tiaa-cref.org> on 2003/01/02 15:54:57 UTC
custom properties in log4j
hi everyone,
we've extended log4j with some custom pattern layouts that print the name of
the (web)application ( in addition to the logger ) logging the event.
is there a way in log4j to set the application name as a property and have
it visible to in our extended log4j classes?
we're planning on setting this property (app name) in a context listener and
later retrieving it in our custom pattern layout classes.
thanks!
david
**********************************************************************
This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, please contact sender immediately by reply e-mail and destroy all copies. You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.
TIAA-CREF
**********************************************************************
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>