From 2f5060e439a4818cc8e5ef4a142df91ca2bf7b83 Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Sun, 24 Apr 2005 11:15:27 +0000 Subject: logs cleanup --- lib/libalpm/cache.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/libalpm/cache.c b/lib/libalpm/cache.c index 3e1c230a..f8942002 100644 --- a/lib/libalpm/cache.c +++ b/lib/libalpm/cache.c @@ -92,8 +92,6 @@ int db_add_pkgincache(pmdb_t *db, pmpkg_t *pkg) { pmpkg_t *newpkg; - _alpm_log(PM_LOG_FUNCTION, "[db_add_pkgincache] called"); - if(db == NULL || pkg == NULL) { return(-1); } @@ -102,6 +100,7 @@ int db_add_pkgincache(pmdb_t *db, pmpkg_t *pkg) if(newpkg == NULL) { return(-1); } + _alpm_log(PM_LOG_DEBUG, "adding entry %s in \"%s\" cache", newpkg->name, db->treename); db->pkgcache = pm_list_add_sorted(db->pkgcache, newpkg, pkg_cmp); db_free_grpcache(db); @@ -118,8 +117,6 @@ int db_remove_pkgfromcache(pmdb_t *db, char *name) return(-1); } - _alpm_log(PM_LOG_FUNCTION, "[db_remove_pkgfromcache] called"); - for(i = db->pkgcache; i && !found; i = i->next) { if(strcmp(((pmpkg_t *)i->data)->name, name) == 0) { _alpm_log(PM_LOG_DEBUG, "removing entry %s from \"%s\" cache", name, db->treename); -- cgit v1.2.3-2-g168b