public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alexander Kapshuk <alexander.kapshuk@gmail.com>
To: Gentoo mailing list <gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] portage summary logs not rotated any more
Date: Sun, 5 Apr 2015 08:39:31 +0300	[thread overview]
Message-ID: <CAJ1xhMX2F99rKcKWB0BQERmfxiN62c2onc0iNXHyetd8Hn_W2Q@mail.gmail.com> (raw)
In-Reply-To: <201504042318.42865.michaelkintzios@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2360 bytes --]

On Sun, Apr 5, 2015 at 1:18 AM, Mick <michaelkintzios@gmail.com> wrote:

> On Saturday 04 Apr 2015 20:35:31 Alexander Kapshuk wrote:
> > My portage summary logs don't seem to be rotated any more.
> >
> > ls -lt `pwd`/summary.log*
> > -rw-rw-r-- 1 portage portage 96581 Apr  3 19:47
> > /var/log/portage/elog/summary.log
> > -rw-rw-r-- 1 portage portage  5927 Jan 10 07:50
> > /var/log/portage/elog/summary.log-20150112
> > -rw-rw-r-- 1 portage portage  2281 Jan  4 21:14
> > /var/log/portage/elog/summary.log-20150104.gz
> > -rw-rw-r-- 1 portage portage   565 Dec 26 20:53
> > /var/log/portage/elog/summary.log-20141228.gz
> > -rw-rw-r-- 1 portage portage  1842 Dec 22 17:52
> > /var/log/portage/elog/summary.log-20141222.gz
> >
> > grep Messages summary.log | sed '1h;$!d;x;G;q'
> >
> > >>> Messages generated by process 3399 on 2015-01-13 17:47:47 EET for
> >
> > package dev-python/reportlab-3.1.8-r2:
> > >>> Messages generated by process 4080 on 2015-04-03 19:47:54 EEST for
> >
> > package net-print/hplip-3.14.1:
> >
> > grep Messages summary.log-20150112 | sed '1h;$!d;x;G;q'
> >
> > >>> Messages generated by process 2637 on 2015-01-04 22:02:00 EET for
> >
> > package app-office/libreoffice-4.2.8.2:
> > >>> Messages generated by process 3483 on 2015-01-10 07:50:04 EET for
> >
> > package dev-libs/openssl-1.0.1k:
> >
> > cat /etc/logrotate.d/elog-save-summary
> > # Copyright 1999-2011 Gentoo Foundation
> > # Distributed under the terms of the GNU General Public License v2
> > # Rotate the log created by the save_summary elog module.
> >
> > /var/log/portage/elog/summary.log {
> >     su portage portage
> >     missingok
> >     nocreate
> >     delaycompress
> > }
> >
> > /etc/logrotate.conf:6,8
> > # rotate log files weekly.
> > weekly
> > #daily
> >
> > What could be wrong here? Or am I misreading something?
> >
> > Thanks.
>
> Is your logrotate running regularly as expected?  What do you get when
> from:
>
>  grep logrotate /var/log/cron.log
>
> --
> Regards,
> Mick
>

Thanks for your response.

I'm afraid I don't have the cron logging set up. I should probably go ahead
and do it, shouldn't I?

grep logrotate /var/log/cron.log
grep: /var/log/cron.log: No such file or directory

The cron daemon is running though.

ps auxwww|grep '[c]ron'
root      2418  0.0  0.1   5464  1868 ?        Ss   08:33   0:00
/usr/sbin/crond

Thanks.

[-- Attachment #2: Type: text/html, Size: 3365 bytes --]

  reply	other threads:[~2015-04-05  5:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-04 19:35 [gentoo-user] portage summary logs not rotated any more Alexander Kapshuk
2015-04-04 22:18 ` Mick
2015-04-05  5:39   ` Alexander Kapshuk [this message]
2015-04-05  7:50     ` Mick
2015-04-05 13:19       ` Alexander Kapshuk
2015-04-05 14:36         ` Mick
2015-04-05 15:31           ` Alexander Kapshuk
2015-04-05 15:49             ` Mick
2015-04-05 16:49             ` Alex Corkwell
2015-04-05 17:21               ` Alexander Kapshuk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJ1xhMX2F99rKcKWB0BQERmfxiN62c2onc0iNXHyetd8Hn_W2Q@mail.gmail.com \
    --to=alexander.kapshuk@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox