org.apache.log4j.xml.DOMConfigurator.class Maven / Gradle / Ivy
The newest version!
???? 0|
???
?
?
q? ???
? ??
??Y?????????????
????
??
?
?
? %
?
!
8" # $?% &'
?(?
?) *?
?+,
?-./01 23
?4 H567 ?8
89: ?;<
?=
>?@ XA XBC ?DEFEG XHIEJ
?K L ?MNOP
qQ
R STUVW ?X
YZ
[\]^
t_`a?
>bc
s2d
e
sf
?ghij ?klmno
spqrst
s5u
?vwxyz{??|
}~??{????
????
s? ??
>??????
s?
>?
8??
??
??
?? ?`
???
??
??
???
??
???
???
???
??
???
???
????
>?
????
2?
???
?
??
???
??
???
??
??
???
???
q?
??
??????????
????E??????E???
???y
??
???
????
?? ?
??
>???
?
??? ????? ParseAction InnerClasses CONFIGURATION_TAG Ljava/lang/String;
ConstantValue OLD_CONFIGURATION_TAG RENDERER_TAG THROWABLE_RENDERER_TAG APPENDER_TAG APPENDER_REF_TAG PARAM_TAG
LAYOUT_TAG CATEGORY LOGGER
LOGGER_REF CATEGORY_FACTORY_TAG LOGGER_FACTORY_TAG NAME_ATTR
CLASS_ATTR
VALUE_ATTR ROOT_TAG ROOT_REF LEVEL_TAG PRIORITY_TAG
FILTER_TAG ERROR_HANDLER_TAG REF_ATTR ADDITIVITY_ATTR THRESHOLD_ATTR CONFIG_DEBUG_ATTR INTERNAL_DEBUG_ATTR
RESET_ATTR RENDERING_CLASS_ATTR RENDERED_CLASS_ATTR EMPTY_STR ONE_STRING_PARAM [Ljava/lang/Class; dbfKey appenderBag Ljava/util/Hashtable; props Ljava/util/Properties;
repository 'Lorg/apache/log4j/spi/LoggerRepository;
catFactory $Lorg/apache/log4j/spi/LoggerFactory; class$java$lang$String Ljava/lang/Class; Synthetic 'class$org$apache$log4j$spi$ErrorHandler !class$org$apache$log4j$spi$Filter (class$org$apache$log4j$spi$LoggerFactory ()V Code LineNumberTable LocalVariableTable this &Lorg/apache/log4j/xml/DOMConfigurator; findAppenderByName E(Lorg/w3c/dom/Document;Ljava/lang/String;)Lorg/apache/log4j/Appender; node Lorg/w3c/dom/Node; map Lorg/w3c/dom/NamedNodeMap; attrNode t I element Lorg/w3c/dom/Element; list Lorg/w3c/dom/NodeList; doc Lorg/w3c/dom/Document; appenderName appender Lorg/apache/log4j/Appender; findAppenderByReference 2(Lorg/w3c/dom/Element;)Lorg/apache/log4j/Appender; appenderRef parseUnrecognizedElement @(Ljava/lang/Object;Lorg/w3c/dom/Element;Ljava/util/Properties;)V instance Ljava/lang/Object;
recognized Z
Exceptions quietParseUnrecognizedElement ex Ljava/lang/Exception;
parseAppender aa )Lorg/apache/log4j/spi/AppenderAttachable; refName currentElement currentNode loop
propSetter (Lorg/apache/log4j/config/PropertySetter; children length oops appenderElement className parseErrorHandler 3(Lorg/w3c/dom/Element;Lorg/apache/log4j/Appender;)V
loggerName logger Lorg/apache/log4j/Logger; root tagName eh #Lorg/apache/log4j/spi/ErrorHandler; parseFilters clazz filter Lorg/apache/log4j/spi/Filter;
parseCategory (Lorg/w3c/dom/Element;)V cat getInstanceMethod Ljava/lang/reflect/Method; -Ljava/lang/reflect/InvocationTargetException;
additivity
loggerElement catName parseCategoryFactory factory factoryElement parseRoot rootElement parseChildrenOfLoggerElement 2(Lorg/w3c/dom/Element;Lorg/apache/log4j/Logger;Z)V
catElement isRoot parseLayout 0(Lorg/w3c/dom/Element;)Lorg/apache/log4j/Layout; layout Lorg/apache/log4j/Layout; params layout_element
parseRenderer renderingClass
renderedClass parseThrowableRenderer ?(Lorg/w3c/dom/Element;)Lorg/apache/log4j/spi/ThrowableRenderer; tr (Lorg/apache/log4j/spi/ThrowableRenderer;
parseLevel
toLevelMethod pri Lorg/apache/log4j/Level; priStr setParameter @(Lorg/w3c/dom/Element;Lorg/apache/log4j/config/PropertySetter;)V elem name value configure configurator configureAndWatch (Ljava/lang/String;)V configFilename (Ljava/lang/String;J)V delay J xdog "Lorg/apache/log4j/xml/XMLWatchdog; doConfigure <(Ljava/lang/String;Lorg/apache/log4j/spi/LoggerRepository;)V filename action 2Lorg/apache/log4j/xml/DOMConfigurator$ParseAction; 8(Ljava/net/URL;Lorg/apache/log4j/spi/LoggerRepository;)V url Ljava/net/URL; ?(Ljava/io/InputStream;Lorg/apache/log4j/spi/LoggerRepository;)V inputStream Ljava/io/InputStream; :(Ljava/io/Reader;Lorg/apache/log4j/spi/LoggerRepository;)V reader Ljava/io/Reader; C(Lorg/xml/sax/InputSource;Lorg/apache/log4j/spi/LoggerRepository;)V inputSource Lorg/xml/sax/InputSource; \(Lorg/apache/log4j/xml/DOMConfigurator$ParseAction;Lorg/apache/log4j/spi/LoggerRepository;)V e fce -Ljavax/xml/parsers/FactoryConfigurationError;
docBuilder #Ljavax/xml/parsers/DocumentBuilder; dbf *Ljavax/xml/parsers/DocumentBuilderFactory; ?(Lorg/w3c/dom/Element;Lorg/apache/log4j/spi/LoggerRepository;)V (Ljava/net/URL;)V parse rootElementName debugAttrib resetAttrib confDebug thresholdStr subst &(Ljava/lang/String;)Ljava/lang/String; <(Ljava/lang/String;Ljava/util/Properties;)Ljava/lang/String; $Ljava/lang/IllegalArgumentException; V(Lorg/w3c/dom/Element;Lorg/apache/log4j/config/PropertySetter;Ljava/util/Properties;)V parseElement P(Lorg/w3c/dom/Element;Ljava/util/Properties;Ljava/lang/Class;)Ljava/lang/Object;
expectedClass class$ %(Ljava/lang/String;)Ljava/lang/Class; x1 "Ljava/lang/ClassNotFoundException; x0
SourceFile DOMConfigurator.java?? java/lang/ClassNotFoundException java/lang/NoClassDefFoundErrorBC??:; java/util/Hashtable45?? org/apache/log4j/Appender????????????? org/w3c/dom/Element java/lang/StringBuffer No appender named [ ] could be found.
?h\ ref
???IJ /org/apache/log4j/xml/UnrecognizedElementHandler^ Unrecognized element ?^_ java/lang/Exception java/lang/InterruptedException java/io/InterruptedIOExceptionC Error in extension content:
class
Class name: [??? &org/apache/log4j/config/PropertySetterB? !"# param????$%w errorHandlervw appender-ref 'org/apache/log4j/spi/AppenderAttachable Attaching appender named [ ] to appender named [& ].[\'( )Requesting attachment of appender named [ C] which does not implement org.apache.log4j.spi.AppenderAttachable.67)C 5Could not create an Appender. Reported error follows.?= !org.apache.log4j.spi.ErrorHandler??*+, !org/apache/log4j/spi/ErrorHandler-(.(
logger-ref89/W0W123 root-ref45e_67@= org.apache.log4j.spi.Filter org/apache/log4j/spi/Filter Adding filter of type [89:;< 2Retreiving an instance of org.apache.log4j.Logger. Desired logger sub-class: [ getLogger12=> java/lang/Object?@A org/apache/log4j/Logger +java/lang/reflect/InvocationTargetExceptionBC Could not retrieve category [ ]. Reported error follows.DE Setting [ ] additivity to [FGH?? /Category Factory tag class attribute not found. No Category Factory configured. Desired category factory: [A= "org.apache.log4j.spi.LoggerFactory "org/apache/log4j/spi/LoggerFactory Category Factory class 2 does not implement org.apache.log4j.LoggerFactoryIC Adding appender named [ ] to category [ Appender named [ ] not found. level?? priority Parsing layout of class: " " org/apache/log4j/Layout 4Could not create the Layout. Reported error follows. $org/apache/log4j/spi/RendererSupportJKL %Parsing throwableRenderer of class: " &org/apache/log4j/spi/ThrowableRenderer ?Could not create the ThrowableRenderer. Reported error follows. Level value for is [ inheritedMN null 3Root level cannot be inherited. Ignoring directive.OPQ??R Desired Level sub-class: [ toLevel org/apache/log4j/Level Could not create level [ level set to STU?VW $org/apache/log4j/xml/DOMConfiguratorXYZ???? org/apache/log4j/xml/XMLWatchdogB?[\]C &org/apache/log4j/xml/DOMConfigurator$1B^?? &org/apache/log4j/xml/DOMConfigurator$2B_ &org/apache/log4j/xml/DOMConfigurator$3B` &org/apache/log4j/xml/DOMConfigurator$4Babc dummy://log4j.dtdd? &org/apache/log4j/xml/DOMConfigurator$5Be System property is : (javax.xml.parsers.DocumentBuilderFactoryfghi 0Standard DocumentBuilderFactory search succeded. DocumentBuilderFactory is: +javax/xml/parsers/FactoryConfigurationErrorjk /Could not instantiate a DocumentBuilderFactory.?lHmn $org/apache/log4j/xml/SAXErrorHandlero6p (org/apache/log4j/xml/Log4jEntityResolverqr?stu?? Could not parse .???? log4j:configuration
configuration 0The element has been deprecated. .Use the element instead. 5DOM element is - not a element. debug debug attribute= " ".vH Ignoring debug attribute. reset reset attribute= "wC configDebug *The "configDebug" attribute is deprecated. "Use the "debug" attribute instead. threshold Threshold ="x? categoryFactory
loggerFactory?? category???? renderer?? throwableRenderer -org/apache/log4j/spi/ThrowableRendererSupport??yz??{? "java/lang/IllegalArgumentException (Could not perform variable substitution.?? java/lang/Class<= java.lang.String !org/apache/log4j/spi/Configurator 0org/apache/log4j/xml/DOMConfigurator$ParseAction forName initCause ,(Ljava/lang/Throwable;)Ljava/lang/Throwable; get &(Ljava/lang/Object;)Ljava/lang/Object; org/w3c/dom/Document getElementsByTagName *(Ljava/lang/String;)Lorg/w3c/dom/NodeList; org/w3c/dom/NodeList getLength ()I item (I)Lorg/w3c/dom/Node; org/w3c/dom/Node
getAttributes ()Lorg/w3c/dom/NamedNodeMap; org/w3c/dom/NamedNodeMap getNamedItem &(Ljava/lang/String;)Lorg/w3c/dom/Node; getNodeValue ()Ljava/lang/String; java/lang/String equals (Ljava/lang/Object;)Z append ,(Ljava/lang/String;)Ljava/lang/StringBuffer; toString org/apache/log4j/helpers/LogLog error put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; getAttribute getOwnerDocument ()Lorg/w3c/dom/Document; .(Lorg/w3c/dom/Element;Ljava/util/Properties;)Z getNodeName warn java/lang/Thread
currentThread ()Ljava/lang/Thread; interrupt *(Ljava/lang/String;Ljava/lang/Throwable;)V (C)Ljava/lang/StringBuffer; org/apache/log4j/helpers/Loader loadClass newInstance ()Ljava/lang/Object; (Ljava/lang/Object;)V setName
getChildNodes ()Lorg/w3c/dom/NodeList; getNodeType ()S
getTagName setLayout (Lorg/apache/log4j/Layout;)V getName addAppender (Lorg/apache/log4j/Appender;)V activate (org/apache/log4j/helpers/OptionConverter instantiateByClassName I(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object; setAppender setBackupAppender %org/apache/log4j/spi/LoggerRepository -(Ljava/lang/String;)Lorg/apache/log4j/Logger; Q(Ljava/lang/String;Lorg/apache/log4j/spi/LoggerFactory;)Lorg/apache/log4j/Logger; setLogger (Lorg/apache/log4j/Logger;)V
getRootLogger ()Lorg/apache/log4j/Logger; setErrorHandler &(Lorg/apache/log4j/spi/ErrorHandler;)V getClass ()Ljava/lang/Class; ,(Ljava/lang/Object;)Ljava/lang/StringBuffer; addFilter (Lorg/apache/log4j/spi/Filter;)V getMethod @(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; java/lang/reflect/Method invoke 9(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; getTargetException ()Ljava/lang/Throwable; toBoolean (Ljava/lang/String;Z)Z (Z)Ljava/lang/StringBuffer;
setAdditivity (Z)V removeAllAppenders org/apache/log4j/or/RendererMap addRenderer M(Lorg/apache/log4j/spi/RendererSupport;Ljava/lang/String;Ljava/lang/String;)V equalsIgnoreCase (Ljava/lang/String;)Z setLevel (Lorg/apache/log4j/Level;)V DEBUG D(Ljava/lang/String;Lorg/apache/log4j/Level;)Lorg/apache/log4j/Level; getLevel ()Lorg/apache/log4j/Level; convertSpecialChars setProperty '(Ljava/lang/String;Ljava/lang/String;)V org/apache/log4j/LogManager getLoggerRepository )()Lorg/apache/log4j/spi/LoggerRepository; setDelay (J)V start ;(Lorg/apache/log4j/xml/DOMConfigurator;Ljava/lang/String;)V 7(Lorg/apache/log4j/xml/DOMConfigurator;Ljava/net/URL;)V >(Lorg/apache/log4j/xml/DOMConfigurator;Ljava/io/InputStream;)V 9(Lorg/apache/log4j/xml/DOMConfigurator;Ljava/io/Reader;)V org/xml/sax/InputSource getSystemId setSystemId B(Lorg/apache/log4j/xml/DOMConfigurator;Lorg/xml/sax/InputSource;)V getSystemProperty 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; (javax/xml/parsers/DocumentBuilderFactory ,()Ljavax/xml/parsers/DocumentBuilderFactory; getException ()Ljava/lang/Exception;
setValidating newDocumentBuilder %()Ljavax/xml/parsers/DocumentBuilder; !javax/xml/parsers/DocumentBuilder (Lorg/xml/sax/ErrorHandler;)V setEntityResolver (Lorg/xml/sax/EntityResolver;)V ;(Ljavax/xml/parsers/DocumentBuilder;)Lorg/w3c/dom/Document; getDocumentElement ()Lorg/w3c/dom/Element; setInternalDebugging resetConfiguration setThreshold setThrowableRenderer +(Lorg/apache/log4j/spi/ThrowableRenderer;)V substVars ! ? q ) ? ? ? ?
G > @ ? ? [ ? ? 2 ! ? " ? # ` $ ? % ? & C ' E ( ) x * ? + ? , ? - ? . ? / ? 0 k 12 3 ? 45 67 89 :; <= > ?= > @= > A= > $ BC D K *? *? *? Y? ?
? E ? ? ? ?F GH IJ D t
?*?
,? ? N-? -?:+
? :6? ? @? :? :? : , ? ? ?
? :? ????? ? Y? ? ,? ? ? ? ?*? N-?
*?
,-? W-? E R ? ? ? ? ? ? . ? 9 ? B ? M ? [ ? b ? e ? k ? p ? ? ? ? ? ? ? ? ? ? ?F f
9 ,KL B #MN M OL " IPQ ?RS ?TU ?GH ?VW ?X ?YZ [\ D k *+ ? ! ? "M+? # N*-,? $? E ?
? ?F * GH ]S
X VW
^_ D ? 5>*? %? *? %+,? & >? ? Y? '? +? ( ? ? ? )? E ? ? ? ? ? 4 ?F * 5`a 5RS 567 3bc d +
e_ D ? %*+,? *? N-? ,?
-? -? ? .? /0-? 1? + E ? ? ?
? ? ? $ ?F *
fg %`a %RS %67 h\ D
?*+2? ! ? "M? Y? 3? ,? ]? 4? ? 5,? 6? 7N-? :? 8Y? 9:*+? ! ? "? : +? ; :? 66?3? : ? < ? ? :
? = >? ? *
? ?? ?
? = @? ? *
? A? B ? ?
? = C? ? *
? D? ?
? = E? ? *
? F? ?
? = G? ? ?*
? ! ? ":? H? E? H:? Y? I? ? J? ? K ? L? ? ? 5*
? M? N ? .? Y? O? ? J? ? K ? P? ? ? ?
-
*? Q? *????? R?N-? ,?
-? -? ? .? /S-? 1? (?? + E ? &