[Box Backup-commit] COMMIT r1476 - box/chris/merge/bin/bbstored
boxbackup-dev@fluffy.co.uk
boxbackup-dev@fluffy.co.uk
Sat, 24 Mar 2007 23:00:41 +0000
Author: chris
Date: 2007-03-24 23:00:41 +0000 (Sat, 24 Mar 2007)
New Revision: 1476
Modified:
box/chris/merge/bin/bbstored/BackupStoreDaemon.cpp
Log:
Remove newlines from syslog() messages. (refs #3, merges [1447])
Modified: box/chris/merge/bin/bbstored/BackupStoreDaemon.cpp
===================================================================
--- box/chris/merge/bin/bbstored/BackupStoreDaemon.cpp 2007-03-24 22:59:53 UTC (rev 1475)
+++ box/chris/merge/bin/bbstored/BackupStoreDaemon.cpp 2007-03-24 23:00:41 UTC (rev 1476)
@@ -295,7 +295,7 @@
std::string clientCommonName(rStream.GetPeerCommonName());
// Log the name
- ::syslog(LOG_INFO, "Certificate CN: %s\n", clientCommonName.c_str());
+ ::syslog(LOG_INFO, "Certificate CN: %s", clientCommonName.c_str());
// Check it
int32_t id;
@@ -342,7 +342,7 @@
{
// Log the amount of data transferred
::syslog(LOG_INFO, "Connection statistics for %s: "
- "IN=%lld OUT=%lld TOTAL=%lld\n", commonName,
+ "IN=%lld OUT=%lld TOTAL=%lld", commonName,
(long long)s.GetBytesRead(),
(long long)s.GetBytesWritten(),
(long long)s.GetBytesRead() +