Did that work?
systemd
[Service]
StandardOutput=null
StandardError=null
does not work since these are dmesg
.
After login into a virtual console the following could be tried:
sudo dmesg --console-off
That would hide all kernel messages from that virtual console.
Are there any ways to filter messages sent to dmesg or to block certain applications from writing to dmesg? I haven’t found any.