[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    icecream/services
From:       Oswald Buddenhagen <ossi () kde ! org>
Date:       2009-10-24 14:53:42
Message-ID: 1256396022.344497.11288.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1039762 by ossi:

log PID even if no prefix is specified

this makes debugging with multiple processes "slightly" simpler.

 M  +2 -1      logging.h  


--- trunk/icecream/services/logging.h #1039761:1039762
@@ -49,7 +49,8 @@
     char buf[64];
     strftime(buf, sizeof(buf), "%T: ", tmp);
     if (logfile_prefix.size())
-        os << logfile_prefix << "[" << getpid() << "] ";
+        os << logfile_prefix;
+    os << "[" << getpid() << "] ";
 
     os << buf;
     return os;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic