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
signature.asc
Description: This is a digitally signed message part.