[pacman-dev] [arch-general] rotate pacman log?
allan at archlinux.org
Thu Aug 7 21:03:40 EDT 2008
Aaron Griffin wrote:
> On Thu, Aug 7, 2008 at 4:30 PM, Dan McGee <dpmcgee at gmail.com> wrote:
>> On Thu, Aug 7, 2008 at 4:15 PM, Aaron Griffin <aaronmgriffin at gmail.com> wrote:
>>> While we're proposing ideas.... what about this:
>>> * new scriptlet function "message()", that just outputs text.
>>> * add a -Q operation to call the message() function.
>>> Then there's really no need for scriptlet logging at all.
>> If I upgrade 59 packages and 3 of them spit out messages but I closed
>> my console, what do I do?
> Honesty: Don't close the console after an upgrade, you knob.
> Realism: Ok, so there is a case for logging, sure, but the message
> function is kinda neat
So here is an idea for pacman contrib that I have had floating around
for a while. A script for doing things with the pacman log such as
1) Listing packages installed - good for people the ruin their pacman db
which for some unknown reason happens reasonably often and there are
scripts on the forums to do this
2) Strips old entries in the log down to essentials. i.e. Just keep the
last n days of entries and the latest information on installed packages
More information about the pacman-dev