[pacman-dev] [PATCH] Remove logging of NoExtract events

Allan McRae allan at archlinux.org
Mon Nov 17 13:46:50 UTC 2014


With globbing in NoExtract, these log events can quickly pile up hiding
important information from the log.

Signed-off-by: Allan McRae <allan at archlinux.org>
---
 lib/libalpm/add.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c
index 604e0c7..ee2b7ec 100644
--- a/lib/libalpm/add.c
+++ b/lib/libalpm/add.c
@@ -194,8 +194,6 @@ static int extract_single_file(alpm_handle_t *handle, struct archive *archive,
 		_alpm_log(handle, ALPM_LOG_DEBUG, "%s is in NoExtract,"
 				" skipping extraction of %s\n",
 				entryname, filename);
-		alpm_logaction(handle, ALPM_CALLER_PREFIX,
-				"note: %s is in NoExtract, skipping extraction\n", entryname);
 		archive_read_data_skip(archive);
 		return 0;
 	}
-- 
2.1.3


More information about the pacman-dev mailing list