[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gnu: rottlog: rotate messages daily.
From: |
Jan Nieuwenhuizen |
Subject: |
Re: [PATCH] gnu: rottlog: rotate messages daily. |
Date: |
Wed, 07 Sep 2016 14:32:13 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Ludovic Courtès writes:
>> Using the attached patch and the configuration below, rottlog
>> actually rotates /var/log/messages daily.
>
> Woohoo!
:-)
Yeah, made me quite happy too.
>> * gnu/packages/admin.scm (rottlog): Set packdir in etc/rc; fixes rotating.
>> Rename weekly to daily; rotates /var/log/messages daily.
>
> I split it in several patches and pushed part of this.
Great, thanks.
> ‘rottlog’ was looking for config files in OUT/etc, which made it
> impossible for people to configure it. So in commit
> 268ad34e0eadf8a015798b5c5587aad65b9f3a61 I changed it to look for
> configuration files in /etc/rottlog.
>
> Consequently, running “rottlog” alone won’t work; one has to provide
> /etc/rottlog/{rc,daily} first. We should have a GuixSD service that
> does that.
Ah, yes configuration was the bit I was wondering about. A service
that initializes/writes these sounds like a good idea!
Greetings,
Jan
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.nl
- Re: [PATCH] gnu: rottlog: rotate messages daily., Ludovic Courtès, 2016/09/07
- Re: [PATCH] gnu: rottlog: rotate messages daily.,
Jan Nieuwenhuizen <=
- Re: [PATCH] gnu: rottlog: rotate messages daily., Jan Nieuwenhuizen, 2016/09/09
- Re: [PATCH] gnu: rottlog: rotate messages daily., Ludovic Courtès, 2016/09/11
- Re: [PATCH] gnu: rottlog: rotate messages daily., Jan Nieuwenhuizen, 2016/09/12
- Re: [PATCH] gnu: rottlog: rotate messages daily., Ludovic Courtès, 2016/09/13
- Re: [PATCH] gnu: rottlog: rotate messages daily., Jan Nieuwenhuizen, 2016/09/14
- Re: [PATCH] gnu: rottlog: rotate messages daily., Ludovic Courtès, 2016/09/20
- Re: [PATCH] gnu: rottlog: rotate messages daily., Jan Nieuwenhuizen, 2016/09/20
- Re: [PATCH] gnu: rottlog: rotate messages daily., Ludovic Courtès, 2016/09/21
- Re: [PATCH] gnu: rottlog: rotate messages daily., Jan Nieuwenhuizen, 2016/09/22