Slack has been spamming my systemd journal logs with useless info level debug logs. I’ve tried starting slack with --silent and setting the log level to fatal using --logLevel, but the log spamming hasn’t stopped.
The solution is to filter these messages using rsyslog.
Create the following configuration under /etc/rsyslog.d/20-slack.conf:
# Drop info log messages from Slack
if $rawmsg contains "slack.desktop" then stop
Verify the configuration, then restart rsyslog:
$ sudo rsyslogd -N1
$ sudo systemctl restart rsyslog
Update: Slack used a different .desktop file for autostart, which didn’t have my -s -g fatal switches. I believe editing the ~/.config/autostart/slack.desktop file should be enough to fix the issue.