[Box Backup-commit] COMMIT r1945 - box/chris/general/infrastructure

boxbackup-dev@fluffy.co.uk boxbackup-dev@fluffy.co.uk
Sat, 8 Dec 2007 21:29:51 +0000 (UTC)


Author: chris
Date: 2007-12-08 21:29:51 +0000 (Sat, 08 Dec 2007)
New Revision: 1945

Modified:
   box/chris/general/infrastructure/buildenv-testmain-template.cpp
Log:
Reduce console verbosity in tests.


Modified: box/chris/general/infrastructure/buildenv-testmain-template.cpp
===================================================================
--- box/chris/general/infrastructure/buildenv-testmain-template.cpp	2007-12-08 21:29:30 UTC (rev 1944)
+++ box/chris/general/infrastructure/buildenv-testmain-template.cpp	2007-12-08 21:29:51 UTC (rev 1945)
@@ -109,6 +109,11 @@
 	// Start memory leak testing
 	MEMLEAKFINDER_START
 
+	Logging::SetGlobalLevel(Log::NOTICE);
+	Logging::SetProgramName("test");
+	Logging::ToConsole(true);
+	Logging::ToSyslog(false);
+
 #ifdef HAVE_GETOPT_H
 	struct option longopts[] = 
 	{