Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: XML Receiver, connecting log4net and log4cxx: msg#00016

apache.logging.log4cxx.user

Subject: Re: XML Receiver, connecting log4net and log4cxx


On Apr 14, 2006, at 7:10 AM, Eduard Rameder wrote:

Hi!

I am trying to connect log4net and log4cxx by using a central
logSocketServer. The requirements define, that the logSocketServer has to be
implemented in c++ (there will be no .Net framework on the logSocketServer
machine).
My Problems:
* there is an XMLAppender on log4net side, just sending messages to UDP
* even worse: there is no XML Receiver/there is no xml-parser for events in
log4cxx

So I am thinking about implementing a sax parser for log4cxx. Better
Solutions? Or already done?

Happy Easter!

With regards,
Eduard


The best way to address the problem (if the goal is to get the code into log4cxx) is to experiment with log4j (and/or chainsaw) to see how they address the problem and then port any missing pieces into log4cxx. log4cxx tries to keep itself aligned with the log4j code- base where possible. I'm guessing the org.apache.log4j.net.XMLSocketReceiver in the log4j 1.3 code base would be the place to start.

For XML parsing, apr-util (part of the Apache Portable Runtime) provides a DOM-like XML parser that is used to parse the XML configuration files. The underlying event parser used in Expat, but that isn't exposed through apr-util.







<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qplus.devel/200...    network.jabber....    debian.qa-packa...    encryption.gpg....    python.dabo.dev...    uclinux.devel/2...    science.mathema...    recreation.pesc...    kernel.ck/2004-...    mozilla.devel.e...    tex.latex.prosp...    ietf.multi6/200...    bbc.cvs/2002-11...    xfree86.newbie/...    jakarta.taglibs...    altlinux.hardwa...    comedi/2002-05/...    horde.bugs/2004...    games.diplomacy...    finance.e-gold....    web.dom.test-su...    lang.ruby.rails...    os.netbsd.devel...    video.gstreamer...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation