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

From: Ludovic Courtès <[email-masked]>
Date: Sat, 01 Apr 2023 00:10:34 +0200

Bruno Victal <[email-masked]> skribis:

> On 2023-03-30 11:22, Ludovic Courtès wrote:
>> 
>> You can send messages to the bitbucket with:
>> 
>>   (parameterize ((shepherd-message-port (%make-void-port "w0")))
>>     …)
>
> 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.

Ludo’.