Using logging output for debugging purposes

Bug #660440 reported by Markus Korn
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zeitgeist Framework
Fix Released
Low
Mohamed Amine Ilidrissi

Bug Description

Right now, whenever we get a bugreport from a user who is zeitgeist `indirectly` (via unity, gnome-activity-journal, ...) we have to ask the reporter to "open a terminal, run zeitgeist-daemon, do your usual stuff, get us the logging output"
This is not optimal, as we a requesting some extra work from our users (who maybe don't care about zeitgeist, they just want there clients to work) and it might also take a long time to get the debugging output, we are depending on our users here.
It would be much easier if zeitgeist would also log to a file (or even better to a rotating set of files). On ubuntu we can then make apport to add such files to a bugreport.

Related branches

Revision history for this message
Seif Lotfy (seif) wrote :

I would suggest that we create a new log on every startup. in the format yyyymmddtimestamp.log
something like 201010191234567890.log

Changed in zeitgeist:
status: New → Confirmed
milestone: none → 0.6
importance: Undecided → Low
Revision history for this message
Markus Korn (thekorn) wrote :

whatever namingconventions we use, we should make sure to use some kind of log rotate, to not spam the user with tons of log files. I think keeping the last 3 log files is enough. For our avg. user this means we have the logs of 3 sessions.

Seif Lotfy (seif)
Changed in zeitgeist:
assignee: nobody → Mohamed Amine IL Idrissi (ilidrissi.amine)
Seif Lotfy (seif)
Changed in zeitgeist:
status: Confirmed → In Progress
Markus Korn (thekorn)
Changed in zeitgeist:
milestone: 0.6 → 0.7
Revision history for this message
Stefano Candori (cando) wrote :

i've linked my branch with my changes...I've seen that Mohamed Amine IL has already fixed something...anyway my branch is a bit different...

Revision history for this message
Stefano Candori (cando) wrote :

forget me...i've deleted my branch...Mohamed Amine IL is already working on this...

Seif Lotfy (seif)
Changed in zeitgeist:
status: In Progress → Fix Committed
Seif Lotfy (seif)
Changed in zeitgeist:
status: Fix Committed → Fix Released
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.