guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gnu: rottlog: rotate messages daily.


From: Ludovic Courtès
Subject: Re: [PATCH] gnu: rottlog: rotate messages daily.
Date: Wed, 07 Sep 2016 11:52:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Hi!

Jan Nieuwenhuizen <address@hidden> skribis:

> Using the attached patch and the configuration below, rottlog
> actually rotates /var/log/messages daily.

Woohoo!

> From c7fc570327faeb50503494b370a2f5ab21d4049b Mon Sep 17 00:00:00 2001
> From: Jan Nieuwenhuizen <address@hidden>
> Date: Sat, 18 Jun 2016 22:37:48 +0200
> Subject: [PATCH] gnu: rottlog: rotate messages daily.
>
> * 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.

‘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.

Thoughts?

Thanks,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]