diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-03-07 09:47:51 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-03-07 09:47:51 +0200 |
commit | a08ececd832de2fb4de426d8894abccd45a7c3df (patch) | |
tree | aee1008294e17df8bb08e2ca289cd9d1d37501ea /rpmdb/db3.c | |
parent | e97e5619e9ddaf8b0e78568ca8848e2c2840dd00 (diff) | |
download | librpm-tizen-a08ececd832de2fb4de426d8894abccd45a7c3df.tar.gz librpm-tizen-a08ececd832de2fb4de426d8894abccd45a7c3df.tar.bz2 librpm-tizen-a08ececd832de2fb4de426d8894abccd45a7c3df.zip |
Log message adjustments
- dont waste translator time by having them translate obscure debug messages
- adjust some suspect looking logging levels
- mark some non-debug messages for translation where missing..
Diffstat (limited to 'rpmdb/db3.c')
-rw-r--r-- | rpmdb/db3.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/rpmdb/db3.c b/rpmdb/db3.c index 1dc9b998e..e84d4ddcb 100644 --- a/rpmdb/db3.c +++ b/rpmdb/db3.c @@ -173,7 +173,7 @@ static int db_fini(dbiIndex dbi, const char * dbhome, rc = cvtdberr(dbi, "dbenv->close", rc, _debug); if (dbfile) - rpmlog(RPMLOG_DEBUG, _("closed db environment %s/%s\n"), + rpmlog(RPMLOG_DEBUG, "closed db environment %s/%s\n", dbhome, dbfile); if (rpmdb->db_remove_env) { @@ -185,7 +185,7 @@ static int db_fini(dbiIndex dbi, const char * dbhome, xx = cvtdberr(dbi, "dbenv->remove", xx, _debug); if (dbfile) - rpmlog(RPMLOG_DEBUG, _("removed db environment %s/%s\n"), + rpmlog(RPMLOG_DEBUG, "removed db environment %s/%s\n", dbhome, dbfile); } @@ -240,7 +240,7 @@ static int db_init(dbiIndex dbi, const char * dbhome, if (eflags & DB_JOINENV) eflags &= DB_JOINENV; if (dbfile) - rpmlog(RPMLOG_DEBUG, _("opening db environment %s/%s %s\n"), + rpmlog(RPMLOG_DEBUG, "opening db environment %s/%s %s\n", dbhome, dbfile, prDbiOpenFlags(eflags, 1)); /* XXX Can't do RPC w/o host. */ @@ -679,7 +679,7 @@ static int db3close(dbiIndex dbi, unsigned int flags) rc = cvtdberr(dbi, "db->close", rc, _printit); db = dbi->dbi_db = NULL; - rpmlog(RPMLOG_DEBUG, _("closed db index %s/%s\n"), + rpmlog(RPMLOG_DEBUG, "closed db index %s/%s\n", dbhome, (dbfile ? dbfile : rpmTagGetName(dbi->dbi_rpmtag))); } @@ -736,7 +736,7 @@ static int db3close(dbiIndex dbi, unsigned int flags) rc = db->verify(db, dbf, NULL, NULL, flags); rc = cvtdberr(dbi, "db->verify", rc, _debug); - rpmlog(RPMLOG_DEBUG, _("verified db index %s/%s\n"), + rpmlog(RPMLOG_DEBUG, "verified db index %s/%s\n", (dbhome ? dbhome : ""), (dbfile ? dbfile : rpmTagGetName(dbi->dbi_rpmtag))); @@ -947,7 +947,7 @@ static int db3open(rpmdb rpmdb, rpmTag rpmtag, dbiIndex * dbip) } } - rpmlog(RPMLOG_DEBUG, _("opening db index %s/%s %s mode=0x%x\n"), + rpmlog(RPMLOG_DEBUG, "opening db index %s/%s %s mode=0x%x\n", dbhome, (dbfile ? dbfile : rpmTagGetName(dbi->dbi_rpmtag)), prDbiOpenFlags(oflags, 0), dbi->dbi_mode); @@ -1165,7 +1165,7 @@ static int db3open(rpmdb rpmdb, rpmTag rpmtag, dbiIndex * dbip) dbhome, (dbfile ? dbfile : "")); } else if (dbfile) { rpmlog(RPMLOG_DEBUG, - _("locked db index %s/%s\n"), + "locked db index %s/%s\n", dbhome, dbfile); } } |