Make the log file names predictable

Bug #1276329 reported by Barry Warsaw
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-download-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

The problem with google-glog is that the log file names are unpredictable. This makes debugging quite difficult. Here's my use case:

For the system-image integration tests, I want to be able to intersperse s-i logging output with u-d-m logging output so I can more easily associate u-d-m debugging with s-i debugging. Under the old logging regime, I simply opened ~/.cache/ubuntu-download-manager/ubuntu-download-manager.log in append mode, and wrote a header/trailer around each of my test invocations. Everything in between these markers was u-d-m output.

With google-glog, this is impossible, because s-i cannot predict which log file u-d-m's logging output will go into. This makes it practically impossible to synchronize s-i output with u-d-m output to figure out what's going wrong.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.