[packagekit] where is the log level for glib set (in packagekit-glib2)?

Jesse Zhang zh.jesse at gmail.com
Mon May 16 03:15:57 PDT 2011


Hi,

I got a bug in our distro Foresight Linux. Wonder if someone can give
me some pointers.

The problem is that, the gpk applications print out excessive DEBUG messages.

$ gpk-application
(gpk-application:26930): PackageKit-DEBUG: trying to open database
'/var/lib/PackageKit/desktop-files.db'
(gpk-application:26930): PackageKit-DEBUG: role now get-repo-list
(gpk-application:26930): PackageKit-DEBUG: notify::connected
(gpk-application:26930): PackageKit-DEBUG: notify::backend-description
(gpk-application:26930): PackageKit-DEBUG: notify::version-major
(gpk-application:26930): PackageKit-DEBUG: notify::groups
(gpk-application:26930): PackageKit-DEBUG: notify::backend-author
(gpk-application:26930): PackageKit-DEBUG: notify::backend-name
(gpk-application:26930): PackageKit-DEBUG: notify::version-micro
(gpk-application:26930): PackageKit-DEBUG: notify::roles
(gpk-application:26930): PackageKit-DEBUG: notify::mime-types
(gpk-application:26930): PackageKit-DEBUG: notify::filters
(gpk-application:26930): PackageKit-DEBUG: notify::version-minor

The functions that print the messages are in packagekit-glib2, but I
can't find out why the log level is set wrongly.

There is something related in pk-debug.c, but I'm not sure.

jesse



More information about the PackageKit mailing list