mwomack     2002/12/09 22:59:25

  Modified:    src/java/org/apache/log4j/xml log4j.dtd
  Log:
  Added description for plugin elements.  Similar to appenders, 0 or more of them can 
appear after appenders in the xml format.
  
  Revision  Changes    Path
  1.20      +9 -2      jakarta-log4j/src/java/org/apache/log4j/xml/log4j.dtd
  
  Index: log4j.dtd
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/xml/log4j.dtd,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- log4j.dtd 9 Oct 2002 22:50:06 -0000       1.19
  +++ log4j.dtd 10 Dec 2002 06:59:25 -0000      1.20
  @@ -8,8 +8,8 @@
   elements,appender elements, categories and an optional root
   element. -->
   
  -<!ELEMENT log4j:configuration (renderer*, appender*,(category|logger)*,root?,
  -                               categoryFactory?)>
  +<!ELEMENT log4j:configuration (renderer*, appender*, plugin*, 
  +                               (category|logger)*,root?, categoryFactory?)>
   
   <!-- The "threshold" attribute takes a level value such that all -->
   <!-- logging statements with a level equal or below this value are -->
  @@ -121,6 +121,13 @@
   <!ELEMENT appender-ref EMPTY>
   <!ATTLIST appender-ref
     ref IDREF #REQUIRED
  +>
  +
  +<!-- plugins must have a name and class and can have optional parameters -->
  +<!ELEMENT plugin (param*)>
  +<!ATTLIST plugin
  +  name               ID         #REQUIRED
  +  class      CDATA  #REQUIRED
   >
   
   <!-- If no priority element is specified, then the configurator MUST not -->
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to