[packagekit] multiple egg-debug instance problems.
hughsient at gmail.com
Fri Oct 3 01:14:12 PDT 2008
On Thu, 2008-10-02 at 14:32 -0600, Scott Reeves wrote:
> Currently we directly include egg-debug.c into the various compiled
> binaries, like pkcon. We also compile a version into libpackagekit.
> This causes a problem because they each have their own instance of the
> do_* boolean vars. When we run "pkcon -v install foo" it only turns
> on debug logging for the calls directly made in pk-console.c which is
> not nearly as useful. All of the good information in pk-client.c and
> such is not logged because it's copy of the boolean flags are false.
Correct. How about we use an environment variable, rather than the
static do_* vars? Would that work?
More information about the PackageKit