Hi Bob,
It seems that this project is in its death bed...
Did you find any other good logger before you went with log4cxx?
Best Regards,
Ron.
On 12/29/06, Bob Rossi <[EMAIL PROTECTED]> wrote:
On Mon, Dec 25, 2006 at 11:08:09PM -0500, Bob Rossi wrote:
> On Fri, Dec 15, 2006 at 09:33:12AM -0500, Bob Rossi wrote:
> > Hi,
> >
> > Here is a patch to get log4cxx to compile with mingw, using g++-4.1.
Can
> > someone please apply this for me?
This is a very simple patch. Can someone please review it?
I recently switched from log4cpp to log4cxx because I thought log4cpp
was sort of a dead project. Anyone activily working on this project?
Anyone responsible for patch review?
Thanks in advance!
Bob Rossi
> > Index: src/syslogappender.cpp
> > ===================================================================
> > --- src/syslogappender.cpp (revision 487559)
> > +++ src/syslogappender.cpp (working copy)
> > @@ -23,7 +23,7 @@
> > #include <log4cxx/helpers/transcoder.h>
> > #include <log4cxx/private/log4cxx_private.h>
> >
> > -#ifdef LOG4CXX_HAVE_SYSLOG
> > +#if LOG4CXX_HAVE_SYSLOG != 0
> > #include <syslog.h>
> > #else
> > /* facility codes */
> > @@ -259,7 +259,7 @@
> >
> > // On the local host, we can directly use the system function
'syslog'
> > // if it is available
> > -#ifdef LOG4CXX_HAVE_SYSLOG
> > +#if LOG4CXX_HAVE_SYSLOG != 0
> > if (sw == 0)
> > {
> > std::string sbuf;
> > @@ -323,7 +323,7 @@
> >
> > // On the local host, we can directly use the system function
'syslog'
> > // if it is available (cf. append)
> > -#ifdef LOG4CXX_HAVE_SYSLOG
> > +#if LOG4CXX_HAVE_SYSLOG != 0
> > if (syslogHost1 != LOG4CXX_STR("localhost") && syslogHost1 !=
LOG4CXX_STR("127.0.0.1")
> > && !syslogHost1.empty())
> > #endif
>