qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject svn commit: r1170164 - /qpid/trunk/qpid/cpp/src/qpid/log/posix/SinkOptions.cpp
Date Tue, 13 Sep 2011 13:00:16 GMT
Author: aconway
Date: Tue Sep 13 13:00:16 2011
New Revision: 1170164

URL: http://svn.apache.org/viewvc?rev=1170164&view=rev
Log:
QPID-3482: Unable to switch off logging to syslog when qpidd runs as daemon

Modified:
    qpid/trunk/qpid/cpp/src/qpid/log/posix/SinkOptions.cpp

Modified: qpid/trunk/qpid/cpp/src/qpid/log/posix/SinkOptions.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/log/posix/SinkOptions.cpp?rev=1170164&r1=1170163&r2=1170164&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/log/posix/SinkOptions.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/log/posix/SinkOptions.cpp Tue Sep 13 13:00:16 2011
@@ -180,7 +180,7 @@ qpid::log::SinkOptions& SinkOptions::ope
 }
 
 void SinkOptions::detached(void) {
-    if (logToStderr && !logToStdout && !logToSyslog) {
+    if (logToStderr && !logToStdout && !logToSyslog && logFile.empty())
{
         logToStderr = false;
         logToSyslog = true;
     }



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message