-
I'm using bluealsa inside debian/testing and installed it with the package manager. When playing an audio file with mpv, stdout is cluttered with several debug messages like this: D: bluealsa-pcm.c:895: Getting BlueALSA PCM: PLAYBACK 9A:BC:04:06:66:FC a2dp How do I stop these messages from cluttering my terminal? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The debug messages are printed into the standard error. So, you can try to redirect stderr to I'm not sure what is the policy in Debian testing about debug builds... Configuring bluez-alsa with |
Beta Was this translation helpful? Give feedback.
-
Redirecting stderr works but I'd have to do that for every terminal audio app I use. Is there a way to stop this at the source, maybe something I can include in my systemd service file?
Sorry if I'm misinterpreting, but are these messages the result of enabling the |
Beta Was this translation helpful? Give feedback.
The debug messages are printed into the standard error. So, you can try to redirect stderr to
/dev/null
, i.e.:mpv file.mp4 2>/dev/null
. However, you will loose stderr output from mpv as well.I'm not sure what is the policy in Debian testing about debug builds... Configuring bluez-alsa with
--enable-debug
is not a release build, it's a debug build with extra debugging and assertions. Maybe you should ask bluez-alsa deb package maintainer to rebuild this package without--enable-debug
option.