logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Jones <ch...@mt.sri.com>
Subject Is log4j already configured?
Date Tue, 08 Jan 2002 18:38:45 GMT
I'm writing a library for use with other applications, and I'm using
log4j for my logging.  I'd rather not require the application
developer to initialize log4j, so it would be nice to have my library
run its own configurator.  However, I don't want to stomp on any
configuration that the application developer has already done, if they
happen to be using log4j already.  Alternatively, it would be nice to
offer the ability for the application developer to turn debugging on
(or turn all messages off) for my library.

I think I'm looking for a way to detect if log4j has already been
configured.  If not, I'll just configure it myself, using

Any pointers?


chris@mt.sri.com -----------------------------------------------------
Chris Jones                                    SRI International, Inc.
www.mt.sri.com                                             www.sri.com

View raw message