Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.axis2.util
Class LoggingControl

    java.lang.Object
      org.apache.axis2.util.LoggingControl

    public class LoggingControl

extends Object

This class provides a more efficient means of control over logging than do most providers of the Common's logging API at the cost of runtime flexibility.

Field Summary
`static boolean` | `debugLoggingAllowed` If this flag is set to false then debug messages will not be logged, irrespective of the level set for the logger itself.

Constructor Summary
`LoggingControl()`

Method Summary

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### debugLoggingAllowed

    public static final boolean debugLoggingAllowed

  If this flag is set to false then debug messages will not be logged, irrespective of the level set for the logger itself. This can only be changed as the result of a JVM restart or a purge and reloading of this class.

  Usage: if (LoggingControl.debugLoggingAllowed && log.isDebugEnabled())... or if (LoggingControl.debugLoggingAllowed && log.isTraceEnabled())...

Constructor Detail

### LoggingControl

    public LoggingControl()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.