From kde-commits Sat Oct 24 14:53:42 2009 From: Oswald Buddenhagen Date: Sat, 24 Oct 2009 14:53:42 +0000 To: kde-commits Subject: icecream/services Message-Id: <1256396022.344497.11288.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=125639602808551 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;