How to reduce logs from the Slack desktop app
Slack desktop app on linux is incredibely badly behaved and will stuff your system logfiles with an extraordinaty amount of garbage.
There is no option available in the configuration pannel of the app to reduce that.
- Disable the autostart feature in File > Preference > Advanced
- Copy the desktop shortcut to your local configuration (this steps allows you to have the change persisting an upgrade of the package when slack release a new version)
1cp /usr/share/applications/Slack.desktop /home/<username>/.local/share/applications/
- edit the file at the .local/share location to override the command line options and cut the verbiage by adding the -s and -g error options
1Exec=/usr/bin/slack -s -g error %U