|
I see this config in /etc/systemd/journald.conf.d/proxmenux-loglevel.conf ProxMenux: Allow info-level messages for proper log display I agree that info has a lot of useful messages. Now, in my Proxmox VE host, I use iSCSI shares with multipathing, Currently this means I get lots of info messages in the kernel service like: sd 33:0:0:1: alua: supports implicit TPGS sd 33:0:0:1: alua: device naa.60014051c06c744da26cd4117daac9d9 port group 0 rel port 1 Is there a way to use the proxmenux-loglevel.conf to filter out these messages, similar to how it's done with rsyslog config files? |
Replies: 1 comment 2 replies
|
Hi @uppsju, sorry for the delay. Looked into this and the situation is a bit tricky. journald.conf drop-ins don't support content-based filtering per message — they only control global thresholds and rate-limiting, so there's no clean way to drop specific lines from that config. The ProxMenux drop-in raises The good news is that you can silence the multipath ALUA noise without touching it — fix it at source. In If you'd rather keep multipath verbose but drop specific lines with a content filter, that would need rsyslog layered on top — journald itself can't do it. Let me know how it goes. |
Hi @uppsju, sorry for the delay.
Looked into this and the situation is a bit tricky. journald.conf drop-ins don't support content-based filtering per message — they only control global thresholds and rate-limiting, so there's no clean way to drop specific lines from that config.
The ProxMenux drop-in raises
MaxLevelStorefrom Proxmox's defaultwarningtoinfobecause the Monitor's System Logs view depends on it. Without that raise, most useful log content (info-level entries from systemd, sshd, kernel) gets silently discarded before it can be shown, and the Logs view ends up almost empty. Fail2Ban and a couple of other integrations also rely on the same, so the drop-in has to stay in place.