[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: |
Tue, 28 Mar 2023 18:25:49 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Hi,
Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
> Bruno Victal <mirai@makinata.eu> writes:
>
>> Upon mcron job completion, /var/log/mcron.log is spammed with:
>> “shepherd: Evaluating user expression (and (defined? (quote transient?))
>> (map (# ?) ?))”
>>
>> These shepherd lines should be suppressible.
>>
>>
>> /var/log/mcron.log snippet:
>>
>> 2023-03-13 16:52:00 243 my-heartbeat-job job: running...
>> 2023-03-13 16:52:00 243 my-heartbeat-job job: Healthcheck: OK
>> 2023-03-13 16:52:00 243 my-heartbeat-job job: shepherd: Evaluating user
>> expression (and (defined? (quote transient?)) (map (# ?) ?)).
>> 2023-03-13 16:52:00 243 my-heartbeat-job job: completed in 0.087s
>>
>
> I think this was already fixed in Shepherd on its master branch. Ludo,
> could you please confirm?
Nope. :-) What is ‘my-heartbeat-job’ doing?
The “Evaluating…” message occurs when using the ‘eval’ action of the
‘root’ service, as in “herd eval root '(+ 2 2)'”.
Ludo’.
- bug#62163: Suppress logging shepherd evaluation in mcron.log, Bruno Victal, 2023/03/13
- bug#62163: Suppress logging shepherd evaluation in mcron.log, Maxim Cournoyer, 2023/03/24
- bug#62163: Suppress logging shepherd evaluation in mcron.log,
Ludovic Courtès <=
- bug#62163: Suppress logging shepherd evaluation in mcron.log, Bruno Victal, 2023/03/28
- bug#62163: Suppress logging shepherd evaluation in mcron.log, Ludovic Courtès, 2023/03/30
- bug#62163: Suppress logging shepherd evaluation in mcron.log, Bruno Victal, 2023/03/30
- bug#62163: Suppress logging shepherd evaluation in mcron.log, Maxim Cournoyer, 2023/03/30
- bug#62163: Suppress logging shepherd evaluation in mcron.log, Ludovic Courtès, 2023/03/31
- bug#62163: Suppress logging shepherd evaluation in mcron.log, Bruno Victal, 2023/03/31
- bug#62163: Suppress logging shepherd evaluation in mcron.log, Ludovic Courtès, 2023/03/31