[arch-general] What do you do with pacman.log? Periodically archive? Delete?

Eli Schwartz eschwartz at archlinux.org
Thu Jun 18 06:12:28 UTC 2020

On 6/18/20 2:09 AM, David C. Rankin wrote:
> This is more of what is the recommended practice ... for handling pacman.log?
>   Strange question, yes, but pacman.log is one of those that never gets
> rotated, etc.. The information in it isn't useful after a few upgrade cycles.
> So what is the general practice for dealing with it?
>   o Periodically delete it?
>   o Split it by year with awk and compress it for?? Historical reasons?
>   o Keep the last year?
>   It not one of those things I've ever thought about before, but grepping
> (after cleaning up the wide-character right-arrow from 2017/18 timeframe), I
> checked and I have 5M of log dating back to 2013. It's not hurting anything,
> but that got me thinking? What do others do with it, and is there any
> recommended manner for dealing with it?
>   I don't see any reason for keeping much of it beyond what you may be asked
> to post as part of a bug-report, etc.. which usually wouldn't be more than the
> last couple of months for most packages..
>   man 8 pacman doesn't provide any options for dealing with how much to keep
> or to truncate.

Among other things, it serves as a handy way to tell when you first
installed the system. :)

I have so many better places to save 5mb of disk space, this doesn't
even register in the top 400.

Eli Schwartz
Bug Wrangler and Trusted User

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1601 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-general/attachments/20200618/e37de22f/attachment.sig>

More information about the arch-general mailing list