From: Jan Nieuwenhuizen <janneke@gnu.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: rottlog: rotate messages daily.
Date: Wed, 07 Sep 2016 14:32:13 +0200 [thread overview]
Message-ID: <877fanyjoy.fsf@gnu.org> (raw)
In-Reply-To: <87k2eoox3p.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Wed, 07 Sep 2016 11:52:42 +0200")
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 <janneke@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.nl
next prev parent reply other threads:[~2016-09-07 12:32 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-11 10:52 [PATCH] gnu: rottlog: rotate messages daily Jan Nieuwenhuizen
2016-09-07 9:52 ` Ludovic Courtès
2016-09-07 12:32 ` Jan Nieuwenhuizen [this message]
2016-09-09 5:26 ` Jan Nieuwenhuizen
2016-09-11 13:30 ` Ludovic Courtès
2016-09-12 21:35 ` Jan Nieuwenhuizen
2016-09-13 21:41 ` Ludovic Courtès
2016-09-14 18:30 ` Jan Nieuwenhuizen
2016-09-20 5:15 ` Ludovic Courtès
2016-09-20 20:47 ` Jan Nieuwenhuizen
2016-09-21 15:32 ` Ludovic Courtès
2016-09-22 20:51 ` Jan Nieuwenhuizen
2016-10-02 22:39 ` Ludovic Courtès
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=877fanyjoy.fsf@gnu.org \
--to=janneke@gnu.org \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.