< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate] Compiler error (on Windows) in rutil Logging


Hi all,

I updated my Resiprocate repository using latest revision (11223) and I encountered a compiler error in Log.cxx, line 253, using Visual C++ 200.

I think that we should set mSyslogFacility to LOG_DAEMON (default value) instead of LOG_DEBUG (undefined under WIN32).

 

--- Log.cxx          (revision 11223)

+++ Log.cxx        (working copy)

@@ -250,7 +250,7 @@

       mSyslogFacility = parseSyslogFacilityName(syslogFacilityName);

       if(mSyslogFacility == -1)

       {

-         mSyslogFacility = LOG_DEBUG;

+         mSyslogFacility = LOG_DAEMON;

       }

    }

 

Best regards,

Dario.

 

Attachment: Log.cxx.patch
Description: Log.cxx.patch