Hello!

I've been using Log4cxx for a number of small C++ apps and it's worked out
great. I'm also using XML to configure the apps but after playing around for
a while, it looked like only way to configure log4cxx with an XML file was
for the <log4j:configuration> tag to be the root. Since I didn't want to
bury my own configuration stuff within the log element, I had to create two
files for each app. So I tweaked the parsing function in log4cxx to
recursively call itself so that I can put the root log element anywhere in
the XML file and it will find and parse it. I've tested this on Windows and
Ubuntu and it worked well. Let me know if ya'll have any questions and thank
you for the library!

 

Sincerely,

Chris Larsen

Attachment: xml_dom_location.patch
Description: Binary data

Reply via email to