The Notify-OSD log should save at least one copy

Bug #397808 reported by Ara Pulido
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
notify-osd (Ubuntu)
Triaged
Wishlist
Mirco Müller

Bug Description

Binary package hint: notify-osd

The Notify-OSD log can be very useful when debugging crashing or other application problems.

The problem is that every time that notify-osd daemon starts, the log file is erased and reopen.

So, if notify-osd crashes and then it restarts due to a new notification, there's no way to access the old log. At least a copy of the old one should be saved (something like notify-osd.log.1)

Ara Pulido (ara)
tags: added: testability
Changed in notify-osd (Ubuntu):
importance: Undecided → Wishlist
Changed in notify-osd (Ubuntu):
status: New → Triaged
assignee: nobody → Mirco Müller (macslow)
Neil J. Patel (njpatel)
Changed in notify-osd:
status: New → Confirmed
importance: Undecided → Wishlist
Mirco Müller (macslow)
Changed in notify-osd:
assignee: nobody → Mirco Müller (macslow)
Revision history for this message
John Ledbetter (john-ledbetter) wrote :

Simple fix attached

Revision history for this message
John Ledbetter (john-ledbetter) wrote :

Apologies, actual fix attached this time.

Revision history for this message
John Ledbetter (john-ledbetter) wrote :
tags: added: patch
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Thanks a lot for your patch and work there :)
unsuscribing the sponsor team and asked to upstream (Mirco, assigned here) to directly review it.

Revision history for this message
Mirco Müller (macslow) wrote :

John, this looks ok. I you can merge-propose it, I'll approve and merge it to trunk.

Revision history for this message
Sebastien Bacher (seb128) wrote :

John, could you do a merge request for it?

no longer affects: notify-osd
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.