Bug 25255 - Keep logs of previous operations
Summary: Keep logs of previous operations
Status: RESOLVED WONTFIX
Alias: None
Product: pm-utils
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Richard Hughes
QA Contact:
URL: https://bugs.launchpad.net/bugs/410352
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-24 03:32 UTC by Martin Pitt
Modified: 2018-06-29 19:57 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
git formatted patch (727 bytes, patch)
2009-11-24 03:32 UTC, Martin Pitt
Details | Splinter Review

Description Martin Pitt 2009-11-24 03:32:11 UTC
Created attachment 31436 [details] [review]
git formatted patch

For debugging suspend problems, it would be much easier if pm-utils would not clear its log file on each operation, but instead suspend to it. This is also conformant with the behaviour of other log files in /var/log/.

This of course requires the installation of a logrotate script. We are using this one:

----------------- 8< -------------------
/var/log/pm-suspend.log /var/log/pm-powersave.log {
       monthly
       rotate 4
       delaycompress
       compress
       notifempty
       missingok
}
----------------- 8< -------------------
Comment 1 Adam Jackson 2018-06-29 19:57:20 UTC
pm-utils hasn't been touched in eight years, none of this is likely to get addressed. Closing bugs and disabling the bz product.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.