This project has retired. For details please refer to its
        
        Attic page.
      
org.apache.cocoon.monitoring.reconfiguration
Class LoggingConfigurationResetter
java.lang.Object
   org.apache.cocoon.monitoring.reconfiguration.LoggingConfigurationResetter
org.apache.cocoon.monitoring.reconfiguration.LoggingConfigurationResetter
- public class LoggingConfigurationResetter 
- extends Object
This class starts a new thread that restores the logging level for a particular class or package
 (after a defined amount of time).
 
| Method Summary | 
|  void | start()Starts thread
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
LoggingConfigurationResetter
public LoggingConfigurationResetter(ch.qos.logback.classic.Logger logger,
                                    ch.qos.logback.classic.Level oldLevel,
                                    String timeout)
- Parameters:
- logger- instance of logger that logging level should changed
- oldLevel- logging level value that should be set after timeout
- timeout- value of timeout. Is should match regular expression: ^[0-9.]+[dhm]?$
          where- dmeans day,- hhours and- mminutes
start
public void start()
- Starts thread
 
- 
 
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.