projects
/
platform
/
core
/
appfw
/
pkgmgr-info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adjust some log levels
[platform/core/appfw/pkgmgr-info.git]
/
src
/
pkgmgrinfo_pkginfo.c
diff --git
a/src/pkgmgrinfo_pkginfo.c
b/src/pkgmgrinfo_pkginfo.c
index
a9ba8db
..
62a60d2
100644
(file)
--- a/
src/pkgmgrinfo_pkginfo.c
+++ b/
src/pkgmgrinfo_pkginfo.c
@@
-385,7
+385,7
@@
static int _pkginfo_get_packages(uid_t uid, const char *locale,
ret = __open_db(dbpath, &db, SQLITE_OPEN_READONLY);
if (ret != SQLITE_OK) {
ret = __open_db(dbpath, &db, SQLITE_OPEN_READONLY);
if (ret != SQLITE_OK) {
- _LOGD("failed to open db
: %d"
, ret);
+ _LOGD("failed to open db
(%s): %d", dbpath
, ret);
free(dbpath);
return PMINFO_R_ERROR;
}
free(dbpath);
return PMINFO_R_ERROR;
}
@@
-678,7
+678,7
@@
static int _pkgmgrinfo_get_pkginfo(const char *pkgid, uid_t uid,
PMINFO_PKGINFO_GET_ALL, list);
if (!g_hash_table_size(list)) {
PMINFO_PKGINFO_GET_ALL, list);
if (!g_hash_table_size(list)) {
- _LOG
I
("pkginfo for [%s] is not existed for user [%d]",
+ _LOG
D
("pkginfo for [%s] is not existed for user [%d]",
pkgid, uid);
g_hash_table_destroy(list);
free(locale);
pkgid, uid);
g_hash_table_destroy(list);
free(locale);
@@
-807,7
+807,7
@@
API int pkgmgrinfo_pkginfo_get_usr_disabled_pkginfo(const char *pkgid,
}
if (!g_hash_table_size(list)) {
}
if (!g_hash_table_size(list)) {
- _LOG
I
("disabled pkginfo for [%s] is not existed for user [%d]",
+ _LOG
D
("disabled pkginfo for [%s] is not existed for user [%d]",
pkgid, uid);
g_hash_table_destroy(list);
free(locale);
pkgid, uid);
g_hash_table_destroy(list);
free(locale);