Mark,

You can download the log4j source code and look at the parsing code
yourself.  It is located in org.apache.log4j.aml.DOMConfigurator.  And yes,
you can include categories as part of the configuration file.

Are you looking for information on how to structure the xml configuration
file?  There is also a dtd located in the xml directory.

-Mark

-----Original Message-----
From: mark sull [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 04, 2002 7:02 AM
To: [EMAIL PROTECTED]
Subject: Good site! Questions


Hi,
I recently viewed your site,
http://jakarta.apache.org/log4j/docs/documentation.html
and found it quite interesting. I have a couple of
questions:
I can't find the source code for how to read an XML
based configuration file using a DOM parser. If this
cannot be posted, could this be sent on? It would be
quite useful to read it.
I also wonder about parsing configuration files. Can
categories be placed/defined in these files?
How are the configuration files recognised/parsed when
passed into a programming structure?
Keep up the good work on an excellent site,
Regards,
Mark.


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - sign up for Fantasy Baseball
http://sports.yahoo.com

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

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

Reply via email to