Navneen, Is there a way you can query to see if any configuration changes have been applied to the database?
I ask because I have been working on a "watchdog" design that extends the configureAndWatch() mechanism. I would be very interested in seeing if a database version could be written using the current design. I already have versions that watch a file (like the current code), a web url, and a socket for new/updated configuration information. thanks, -Mark -----Original Message----- From: Naveen Bathula [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 12:57 PM To: 'Log4J Users List' Subject: RE: Runtime Enable/Disable Logging Scott, Apparently I have to read configuration xml file from the database. So any changes would first have to go in the database. LogReader EntityBean would then load and cache the config info. -Naveen -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 3:53 PM To: Log4J Users List Subject: Re: Runtime Enable/Disable Logging Why don't you just use the DOMConfigurator and use the configureAndWatch() method to initialize log4j. Then you can change the config file dynamically at runtime and have it take effect. This is probably the best (& easiest) way to use log4j when you want dynamic logging changes at runtime. -Scott Naveen Bathula <nbatula@intel To: Log4J Users List <[EMAIL PROTECTED]> idata.com> cc: Subject: Runtime Enable/Disable Logging 03/13/2002 11:55 AM Please respond to "Log4J Users List" I am using log4j-1.2beta3 I set the Logging Level to be "FATAL" LogManager.getLoggerRepository().setThreshold(XLevel.FATAL); in the code. I came across a mailing list where we can overide the Level with out changing the binary at the client site using the command at run time java ..... -D log4j.disableOverride=true (I set this during run time) This Level is set to debug in the configuration <priority value ="debug" /> <appender-ref ref="CONSOLE"/> But I don't see all my debug messages.... Am I doing something wrong..... How can we overide the threshold Level set in the binary code during rin time? Thanks -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>