[systemd-devel] Antw: [EXT] Re: Suppressing spam error messages in the system journal

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Fri Oct 23 05:58:42 UTC 2020


>>> Reindl Harald <h.reindl at thelounge.net> schrieb am 22.10.2020 um 18:49 in
Nachricht <9af67357-feaa-e1c7-291e-afe5f48e8291 at thelounge.net>:

> 
> Am 22.10.20 um 16:55 schrieb Dave Howorth:
>> On Thu, 22 Oct 2020 15:27:58 +0200
>> Reindl Harald <h.reindl at thelounge.net> wrote:
>>> Am 22.10.20 um 12:59 schrieb Lennart Poettering:
>>>> On Do, 22.10.20 11:11, David C. Partridge
>>>> (david.partridge at perdrix.co.uk) wrote:
>>>>>>> 	1) Is there any way in journald.conf to perform a
>>>>>>> message
>>>>> suppression
>>>>>>> similar to the one I used for syslog? If not should there be
>>>>>>> one?
>>>>>   
>>>>>> No.
>>>>>
>>>>> Does that mean no there isn't and also that there should not be,
>>>>> or are you open to considering allowing a suppression mechanism
>>>>> similar to that available in rsyslogd?
>>>>
>>>> Not a fan of such hacks. Fix the programs or filter during display,
>>>> don't suppress at time of collection.
>>>
>>> it's not a matter of fan or not
>>>
>>> it just makes sense to filter out things one *never* want to see at
>>> all instead store it
>> 
>> I think Lennart's point is that whatever happened to cause something in
>> the system to make a log entry happened, and that should be recorded.
>> Even though you may never want to see such evidence somebody, somewhere
>> might want it as part of an investigation, so it's better that it's
>> captured and preserved. The space will eventually be reclaimed so
>> there's no harm done.
>> 
>> And as he suggests, if you never want to see it, then filter it out on
>> display.
> 
> different mindshapes which shouldn't even need a long discussion, there 
> are people with different preferences and it's not too hard to implement 
> a filter
> 
> nobody needs to use it
> it's not in use as default
> 
> i personally hate it that i have to apply filters at display time again 
> and again for stuff i don't care about
> 
> a lot fo software logs informational stuff nobody cares most of the time 
> and all that noise burries rellay relevant stuff ‑ in the best case i 
> don't see anything at all in logs which don't need attention

It seems to be the trend of time to store everything you get, just in case one
could need it at a later time...

> 
> again: if there is a config everyone is happy
> 
> _______________________________________________
> systemd‑devel mailing list
> systemd‑devel at lists.freedesktop.org 
> https://lists.freedesktop.org/mailman/listinfo/systemd‑devel 





More information about the systemd-devel mailing list