[PATCH setup] Demote some messages to LOG_BABBLE

Achim Gratz Stromeko@nexgo.de
Thu Mar 5 21:56:00 GMT 2015


Here's another one to reduce the logorrhea of setup unless otherwise
requested.

X-Git-Url: http://repo.or.cz/w/cygwin-setup/local.git/commitdiff_plain/63ec5d1957a169a9a7466e4065247e022f3eecc8

Demote some messages to LOG_BABBLE

	* package_meta.cc (isManuallyWanted, isManuallyDeleted): Demote
	overly talkative messages to LOG_BABBLE, so that they won't
	clutter stdout by default.
---

diff --git a/ChangeLog b/ChangeLog
index 551cc94..1e97579 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-03-05  Achim Gratz  <Stromeko@NexGo.DE>
+
+	* package_meta.cc (isManuallyWanted, isManuallyDeleted): Demote
+	overly talkative messages to LOG_BABBLE, so that they won't
+	clutter stdout by default.
+
 2015-03-02  Jon TURNEY  <jon.turney@dronecode.org.uk>
 
 	* LogFile.cc (endEntry): Remove msg().
diff --git a/package_meta.cc b/package_meta.cc
index c2e94eb..34ff78c 100644
--- a/package_meta.cc
+++ b/package_meta.cc
@@ -314,13 +314,13 @@ bool packagemeta::isManuallyWanted() const
       for (curcat = categories.begin (); curcat != categories.end (); curcat++)
 	if (parsed_categories.find (*curcat) != parsed_categories.end ())
 	  {
-	    Log (LOG_PLAIN) << "Found category " << *curcat << " in package " << name << endLog;
+	    Log (LOG_BABBLE) << "Found category " << *curcat << " in package " << name << endLog;
 	    bReturn = true;
 	  }
     }
   
   if (bReturn)
-    Log (LOG_PLAIN) << "Added manual package " << name << endLog;
+    Log (LOG_BABBLE) << "Added manual package " << name << endLog;
   return bReturn;
 }
 
@@ -364,13 +364,13 @@ bool packagemeta::isManuallyDeleted() const
       for (curcat = categories.begin (); curcat != categories.end (); curcat++)
 	if (parsed_delete_categories.find (*curcat) != parsed_delete_categories.end ())
 	  {
-	    Log (LOG_PLAIN) << "Found category " << *curcat << " in package " << name << endLog;
+	    Log (LOG_BABBLE) << "Found category " << *curcat << " in package " << name << endLog;
 	    bReturn = true;
 	  }
     }
 
   if (bReturn)
-    Log (LOG_PLAIN) << "Deleted manual package " << name << endLog;
+    Log (LOG_BABBLE) << "Deleted manual package " << name << endLog;
   return bReturn;
 }


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs



More information about the Cygwin-apps mailing list