bug-guix
[Top][All Lists]
Advanced

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

bug#62163: Suppress logging shepherd evaluation in mcron.log


From: Ludovic Courtès
Subject: bug#62163: Suppress logging shepherd evaluation in mcron.log
Date: Wed, 03 May 2023 22:01:33 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Hi,

Bruno Victal <mirai@makinata.eu> skribis:

>>>> While it does work for expunging them from mcron log, I noticed that
>>>> these lines are also polluting /var/log/messages and the snippet above
>>>> doesn't handle that.
>>>> Is there perhaps something else I'm missing?
>>>
>>> Nope, you cannot prevent them from ending up in /var/log/messages; they
>>> are purposefully logged.
>
> Perhaps we could have a “low-noise” way to query for running services? (or 
> non modifying actions done on shepherd)
> Filling /var/log/messages with messages of (IMO) dubious value seems 
> counterproductive.

The reasoning was that “eval is evil”, as we know :-), so we’d rather
log uses of ‘herd eval root’.

Ludo’.





reply via email to

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