Log spamming when starting discord through its desktop file
This is some weird behavior that suddenly started happening. When starting discord through its application menu entry, my system log is getting spammed with weird trace messages:
(audio_device_impl.cc:625): SetStereoPlayout(1)
(audio_device_impl.cc:620): output: 1
(audio_mixer_manager_pulse_linux.cc:189): audio_device_impl.cc:613): audio_device_impl.cc:709): SetPlayoutDevice(0)
(audio_device_impl.cc:821): PlayoutIsInitialized
Especially this one is spammed forever with no end, and my system log is now full with it:
(device_info_linux.cc:45): NumberOfDevices
None of this happens when I start discord from the command-line with /usr/bin/discord.
Does someone know what is happening?
Posted Apr 20, 2022, 8:38 PM UTC
Hey to folks on this thread - sorry for the pings u/Leeo97one and u/Granat1 -- but, I was able to get the logs to stop so I wanted to make sure you saw it. I believe it's due to GDM and SDDM both directing logging into the systemd journal rather than the intended log files. Discord is trying to collect some data; but, they didn't account for this behavior. Here's how to get Discord to stop spamming your logs:
User Settings > Voice & Video > Scroll to bottom > Disable "Debug Logging"
Discord will need to restart; but, it will no longer be polluting your journal!
[deleted]
Beautiful this was it, thanks.
Was running into this same issue, thanks for the fix!
OMG, thanks! xD
Thank you! That was indeed the issue. Never would have expected a debug option to be enabled by default.