Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-user
Navigation:
Lists: gentoo-user: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-user@g.o
From: Neil Bothwick <neil@...>
Subject: Re: Where is the emerge history
Date: Thu, 1 Sep 2005 15:46:23 +0100
On Thu, 01 Sep 2005 15:30:18 +0200, Holly Bostick wrote:

> > Gzipping them saves a lot of space, i do it from a cron job
> > 
> > $ cat /etc/cron.daily/portagelogs #!/bin/bash
> > 
> > for f in $(portageq envvar PORT_LOGDIR)/*.log; do gzip -f $f
> > 2>/dev/null || echo "Failed to gzip $f" done
> > 
> > 
> 
> Can they not also be rotated with logrotate (I just set logrotate up to
> do this, I think, but since I just did it, and set it for monthy, I
> don't know if it works yet)? But honestly, I don't see why I'd need an
> emerge.log from 6 months ago anyway (or even last month), so is there
> anything wrong with that option? Or have I wasted 2 minutes of time :) ?

These are the individual log files, two  per emerge, in PORT_LOGDIR.

Using logrotate on emerge.log would save space, but would affect the use
of genlop --current, which uses this file to estimate emerge times. It's
probably not worth rotating, my desktop has only accumulated 6MB of data
in 15 months, my server has 2.2MB after 33 months. On the other
hand, /var/log/portage on the desktop is 88MB gzipped (almost 1GB
unpacked) and well overdue for a clear out.


-- 
Neil Bothwick

Top Oxymorons Number 13: Computer jock
Attachment:
pgpDa0ZWuqR3f.pgp (PGP signature)
References:
Where is the emerge history
-- Kevin O'Gorman
Re: Where is the emerge history
-- Philip Webb
Re: Where is the emerge history
-- Neil Bothwick
Re: Where is the emerge history
-- Holly Bostick
Navigation:
Lists: gentoo-user: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Where is the emerge history
Next by thread:
Re: OT Where is the emerge history
Previous by date:
Re: OT Where is the emerge history
Next by date:
Re: Re: Adaptec AIC7xxx kernel problems?


Updated May 04, 2012

Summary: Archive of the gentoo-user mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.