Hi Juergen,
I'm not sure that you would really use the SocketAppender, unless you were planning to
send IIOP messages down the socket yourself, which sounds like a lot of work
Maybe you could write an IDL interface and use the stub in an Appender class, so that
messages are sent to a CORBA server that way?
Another possibility would be to write an Appender that sends messages to a CORBA Event
Service. Then you could have another application to receive messages from the CORBA
Event Service and perform the logging you need. This might be a better "pattern" for
your appender as you could look at other appender implementations (e.g. to the Windows
NT Event Service, or Unix syslog) to see how they have handled things.
Hope this helps
Keith
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thu 04/03/2004 07:44
To: Log4J Users List
Cc:
Subject: log4j output to CORBA via socket appender ?
Greetings,
I intend to extend my actual log4j socket output (socket appender -->
central socket server) to a CORBA output (--> central CORBA server).
I don't know how to do this for the best, I only used CORBA in a simple
client/server application (with ORBACUS ORB).
My idea is to derive a CORBA appender from the log4j socket appender, but
how to realize the whole way of a log4j "CORBA appender" from writing IDL
to the use in an client CORBA application.
Thoughts and ideas about possible solutions would be very appreciated.
Regards,
Juergen Bauer
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]