[Box Backup-commit] COMMIT r2103 - box/trunk/lib/server

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Sat Mar 1 23:03:36 GMT 2008


Author: chris
Date: 2008-03-01 23:03:36 +0000 (Sat, 01 Mar 2008)
New Revision: 2103

Modified:
   box/trunk/lib/server/Daemon.cpp
Log:
Only log daemon banner to syslog, not to console, as this is probably 
what users expect (and they have no way to control verbosity on the 
console this early).


Modified: box/trunk/lib/server/Daemon.cpp
===================================================================
--- box/trunk/lib/server/Daemon.cpp	2008-03-01 22:54:56 UTC (rev 2102)
+++ box/trunk/lib/server/Daemon.cpp	2008-03-01 23:03:36 UTC (rev 2103)
@@ -348,9 +348,7 @@
 {
 	// Banner (optional)
 	{
-		#ifndef NDEBUG
-		BOX_NOTICE(DaemonBanner());
-		#endif
+		BOX_SYSLOG(Log::NOTICE, DaemonBanner());
 	}
 
 	std::string pidFileName;




More information about the Boxbackup-commit mailing list