[packagekit] cool new stuff: syslog

Ken VanDine ken at vandine.org
Wed Nov 19 11:21:13 PST 2008


I would default to logging major operations, like started, stopped,
package installed, etc... and set a debugging level to allow for more
messages... like the equivilent to packagekitd --verbose.  That would
be extremely useful.

--Ken

On Wed, Nov 19, 2008 at 1:54 PM, Richard Hughes <hughsient at gmail.com> wrote:
> As part of my mission in making PackageKit more enterprise ready, I've
> added syslog logging to the daemon.
>
> This logs something like this:
>
> Nov 19 18:41:26 hughsie-laptop PackageKit: daemon start
> Nov 19 18:41:29 hughsie-laptop PackageKit: get-details transaction /430_ceacedca_data finished with success after 18ms
> Nov 19 18:41:30 hughsie-laptop PackageKit: get-depends transaction /431_bededeca_data finished with success after 19ms
> Nov 19 18:41:31 hughsie-laptop PackageKit: uid 500 obtained org.freedesktop.packagekit.package-install auth (trusted:0)
> Nov 19 18:41:31 hughsie-laptop PackageKit: new install-packages transaction /432_accdcebd_data scheduled from uid 500
> Nov 19 18:41:41 hughsie-laptop PackageKit: in /432_accdcebd_data for install-packages package gtkhtml2;2.19.1-4.fc8;i386;fedora was installing for uid 500
> Nov 19 18:41:41 hughsie-laptop PackageKit: in /432_accdcebd_data for install-packages package gtkhtml2-devel;2.19.1-0.fc8;i386;fedora was installing for uid 500
> Nov 19 18:41:41 hughsie-laptop PackageKit: install-packages transaction /432_accdcebd_data from uid 500 finished with success after 13ms
> Nov 19 18:41:41 hughsie-laptop PackageKit: search-group transaction /433_cdddeccd_data finished with success after 17ms
> Nov 19 18:41:44 hughsie-laptop PackageKit: daemon quit
>
> Comments about verbosity welcome.
>
> Richard.
>
>
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit
>



-- 
Ken VanDine
http://ken.vandine.org


More information about the PackageKit mailing list