Now that I've done more research, I realized that my question was not
totally correct.

We have a remote logging system that logs LoggingEvents from a
SocketAppender.  This logging system gathers all events from multiple
applications, and writes to the filesystem.

Since posting my first question, I realized that it is not text that is sent
across the network to the remote system, but serialized LoggingEvent
objects.  Which I can not create from c++.

I have written my own protocol, using XML and jox on the server side, I am
now parsing the XML on the remote side and creating LoggingEvent objects.

If there's a better way, or anything at all, please let me know.

Thanks again,

Matt

-----Original Message-----
From: Tory Toupin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 10, 2002 11:16 AM
To: Log4J Developers List
Subject: Re: SocketAppender & C++



Just to clarify: Are you attempting to log events to
the log4j SocketAppender from C++?  Are you using JNI
to construct the LoggingEvent?

I haven't had direct experience doing this outside of
JNI.  If you want, I've built a custom appender for
log4cpp that appends to log4j.  If you want the code,
I can put it out on the net for you.

--- "Siegel, Matthew" <[EMAIL PROTECTED]>
wrote:
> Hi all,
> 
> Does anyone have any experience with logging to a
> SocketAppender from a
> C/C++ application?
> 
> I would appreciate anyone's help.
> 
> Thanks alot,
> 
> Matthew Siegel
> Software Engineer
> Solers, Inc.
> E-mail: [EMAIL PROTECTED]
> Phone: 703.248.6013
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

--
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