[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: log4cxx/log4j interoperability renny . koshy Thu Apr 29 15:01:39 2010

Based on Shea's request... I'm releasing this code under GPL3 for anyone
else that may need it.

I've uploaded the relevant files to google code:



Renny Koshy
President & CEO

Rubix Information Technologies, Inc.

      To&nbsp;&nbsp;    <[EMAIL PROTECTED]>
      Subject&nbsp;&nbsp;     log4cxx/log4j interoperability
"Shea Ray-B27964" <[EMAIL PROTECTED]>

04/29/2010 09:44 AM MST
<HR><font size=-1>Please respond to
"Log4CXX User" <[EMAIL PROTECTED]></font><HR>       <font

Apologies if this  has been answered before, but I have been searching and
haven't found an  answer.

We have an  application that is a mix of Java and C++ code, and are
wondering if we can use  log4j and log4cxx together to log to the same
file, assuming each is defined  with appenders that point to the same file,
and assuming both Java and C++ are  running in the same process.

Is this as simple as  defining the proper FileAppenders on both the Java
and C++ side, or do we have  to use something like SocketAppenders?

Our goal is to have  a single unified log so that users don't have to try
to correlate intertwined  log messages from two different log files just
because the log messages  originated from within different code spaces.

I've used log4j for  years but am new to log4cxx.


Ray  Shea
Senior Software  Engineer
Freescale  Semiconductor