Project Wonder 5.0.0.8794

er.extensions.logging
Class ERXLog4JConfiguration

java.lang.Object
  extended by com.webobjects.appserver.WOElement
      extended by com.webobjects.appserver.WOComponent
          extended by er.extensions.logging.ERXLog4JConfiguration
All Implemented Interfaces:
WOActionResults, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, Serializable, Cloneable

public class ERXLog4JConfiguration
extends WOComponent

Configures and manages the log4j logging system. Will also configure the system for rapid turn around, ie when WOCaching is disabled when the conf file changes it will get reloaded.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.webobjects.appserver.WOComponent
WOComponent._EventLoggingEnabler, WOComponent.Event
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSValidation
NSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException
 
Field Summary
static EOSortOrdering NAME_SORT_ORDERING
           
 boolean showAll
           
static NSMutableArray SORT_BY_NAME
           
 
Fields inherited from class com.webobjects.appserver.WOComponent
_Extension, _IsEventLoggingEnabled, _keyAssociations, MINUSONE
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding.ErrorHandling
_CLASS
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator
 
Fields inherited from interface com.webobjects.foundation.NSValidation
_CLASS
 
Constructor Summary
ERXLog4JConfiguration(WOContext aContext)
           
 
Method Summary
 WOComponent addLogger()
           
 void addLogger(Logger log, NSMutableArray result)
           
 WOComponent addRuleKey()
           
 void appendToResponse(WOResponse r, WOContext c)
           
 String bgColor()
           
 String conversionPattern()
           
 Integer debugLevel()
           
 Integer errorLevel()
           
 Integer fatalLevel()
           
 WOComponent filter()
           
 String filterString()
           
 int indentLevel()
           
 Integer infoLevel()
           
 Logger logger()
           
 boolean loggerIsNotDebug()
           
 boolean loggerIsNotError()
           
 boolean loggerIsNotFatal()
           
 boolean loggerIsNotInfo()
           
 boolean loggerIsNotOff()
           
 boolean loggerIsNotWarn()
           
 Integer loggerLevelValue()
           
 String loggerName()
           
 String loggerPropertiesString()
           
 NSArray loggers()
           
 Integer offLevel()
           
 Logger parentForLogger(Logger l)
           
 WOComponent resetFilter()
           
 String ruleKey()
           
 void setConversionPattern(String newPattern)
           
 void setFilterString(String newValue)
           
 void setLogger(Logger newValue)
           
 void setLoggerLevelValue(Integer newValue)
           
 void setLoggerName(String newValue)
           
 void setRuleKey(String newValue)
           
 WOComponent showAll()
           
 WOComponent showExplicitlySet()
           
 Integer unsetLevel()
           
 WOComponent update()
           
 WOComponent updateConversionPattern()
           
 Integer warnLevel()
           
 
Methods inherited from class com.webobjects.appserver.WOComponent
__valueForBinding, _associationWithName, _awakeInContext, _childTemplate, _cleanUpStatelessComponent, _componentDefinition, _componentUnroll, _isPage, _setContext, _setIsPage, _setParent, _setSubcomponent, _sleepInContext, _subcomponentForElementWithID, _templateNameForClass, _unroll, application, awake, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, descriptionForResponse, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, invokeAction, isCachingEnabled, isEventLoggingEnabled, isStateless, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, reset, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, sleep, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, takeValuesFromRequest, template, templateWithHTMLString, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForBooleanBinding, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

showAll

public boolean showAll

NAME_SORT_ORDERING

public static final EOSortOrdering NAME_SORT_ORDERING

SORT_BY_NAME

public static final NSMutableArray SORT_BY_NAME
Constructor Detail

ERXLog4JConfiguration

public ERXLog4JConfiguration(WOContext aContext)
Method Detail

logger

public Logger logger()

setLogger

public void setLogger(Logger newValue)

filterString

public String filterString()

setFilterString

public void setFilterString(String newValue)

loggerName

public String loggerName()

setLoggerName

public void setLoggerName(String newValue)

ruleKey

public String ruleKey()

setRuleKey

public void setRuleKey(String newValue)

parentForLogger

public Logger parentForLogger(Logger l)

loggers

public NSArray loggers()

addLogger

public void addLogger(Logger log,
                      NSMutableArray result)

filter

public WOComponent filter()

resetFilter

public WOComponent resetFilter()

update

public WOComponent update()

showAll

public WOComponent showAll()

showExplicitlySet

public WOComponent showExplicitlySet()

addLogger

public WOComponent addLogger()

addRuleKey

public WOComponent addRuleKey()

offLevel

public Integer offLevel()

debugLevel

public Integer debugLevel()

infoLevel

public Integer infoLevel()

warnLevel

public Integer warnLevel()

errorLevel

public Integer errorLevel()

fatalLevel

public Integer fatalLevel()

unsetLevel

public Integer unsetLevel()

loggerLevelValue

public Integer loggerLevelValue()

loggerIsNotOff

public boolean loggerIsNotOff()

loggerIsNotDebug

public boolean loggerIsNotDebug()

loggerIsNotInfo

public boolean loggerIsNotInfo()

loggerIsNotWarn

public boolean loggerIsNotWarn()

loggerIsNotError

public boolean loggerIsNotError()

loggerIsNotFatal

public boolean loggerIsNotFatal()

loggerPropertiesString

public String loggerPropertiesString()

setLoggerLevelValue

public void setLoggerLevelValue(Integer newValue)

bgColor

public String bgColor()

indentLevel

public int indentLevel()

appendToResponse

public void appendToResponse(WOResponse r,
                             WOContext c)
Overrides:
appendToResponse in class WOComponent

conversionPattern

public String conversionPattern()

setConversionPattern

public void setConversionPattern(String newPattern)

updateConversionPattern

public WOComponent updateConversionPattern()

Last updated: Thu, Jan 8, 2009 • 12:32 PM EST

Copyright © 2002 – 2007 Project Wonder.