This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
[PATCH setup 04/10] Downgrade "Running preremove script" logging to debug
- From: Jon Turney <jon dot turney at dronecode dot org dot uk>
- To: cygwin-apps at cygwin dot com
- Cc: Jon Turney <jon dot turney at dronecode dot org dot uk>
- Date: Tue, 2 Aug 2016 16:30:31 +0100
- Subject: [PATCH setup 04/10] Downgrade "Running preremove script" logging to debug
- Authentication-results: sourceware.org; auth=none
- References: <20160802153037.125216-1-jon.turney@dronecode.org.uk>
This is emitted for every package, regardless of it has any scripts or not.
Actual script execution is logged separately.
Also a cosmetic fix to remove a doubled space.
---
install.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/install.cc b/install.cc
index 2b714bc..f54acdc 100644
--- a/install.cc
+++ b/install.cc
@@ -159,7 +159,7 @@ Installer::preremoveOne (packagemeta & pkg)
{
Progress.SetText1 ("Running preremove script...");
Progress.SetText2 (pkg.name.c_str());
- Log (LOG_PLAIN) << "Running preremove script for " << pkg.name << endLog;
+ Log (LOG_BABBLE) << "Running preremove script for " << pkg.name << endLog;
const unsigned numexts = 4;
const char* exts[numexts] = { ".dash", ".sh", ".bat", ".cmd" };
for (unsigned i = 0; i < numexts; i++)
--
2.8.3