[pacman-dev] [PATCH 3/4] Remove noisy debug logger
Dan McGee
dan at archlinux.org
Wed Sep 21 11:18:15 EDT 2011
This one can be overwhelming when reading debug output from a very large
package. We already have the output of each extracted file so we
probably can do without this in 99.9% of cases.
Signed-off-by: Dan McGee <dan at archlinux.org>
---
lib/libalpm/add.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c
index eb05f84..170d09e 100644
--- a/lib/libalpm/add.c
+++ b/lib/libalpm/add.c
@@ -584,9 +584,6 @@ static int commit_single_pkg(alpm_handle_t *handle, alpm_pkg_t *newpkg,
* (missing metadata sizes) */
int64_t pos = archive_position_compressed(archive);
percent = (pos * 100) / newpkg->size;
- _alpm_log(handle, ALPM_LOG_DEBUG, "decompression progress: "
- "%d%% (%"PRId64" / %jd)\n",
- percent, pos, (intmax_t)newpkg->size);
if(percent >= 100) {
percent = 100;
}
--
1.7.6.3
More information about the pacman-dev
mailing list