Thanks. I'll read logrotate.
Questions about other logs, including smart error https://xpenology.com/forum/topic/29581-suppress-virtual-disk-smart-errors-from-varlogmessages/
If you use a filter, as indicated by this address, the /var/log/messages does not record its logs.
/var/log/messages
Is it recorded not only in this place but also elsewhere?
If it's only suppressed here, I agree with the following:
The result is spurious error messages logged to /var/log/messages every few seconds, wasting disk space and SSD lifecycle, and making it hard to see what's happening
As you say, if you are self-managing so that you don't run out of space, you don't have to periodically make the log file zero.
(To stabilize the system, we tried to make the log file zero periodically.)
/var/log/messages
Will suppressing the logs here help you troubleshoot the following problems?
"wasting disk space and SSD lifecycle, and making it hard to see what's happening."
I'm sorry I asked you so many times.
I'm worried that I'm going to lose data because of a small problem I don't know.