[pulseaudio-tickets] [Bug 107037] module-udev-detect fails to create sink for sound card

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 29 09:50:41 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=107037

--- Comment #8 from Tanu Kaskinen <tanuk at iki.fi> ---
I tested how the warning shows up in journalctl, and unfortunately it has no
highlighting. Making the warning an error wouldn't help, because the problem is
that when pulseaudio is started by systemd, the logs go to stderr. The journal
picks up the messages from stderr, but the journal has no idea about the
importance of the messages. PulseAudio supports logging to the journal
directly, but unfortunately that doesn't get enabled when PulseAudio is started
by systemd.

We could pass --log-target=journal on the command line that is specified in the
.service file, but that would make it impossible to override the log target
from daemon.conf, so some other solution is needed. I think it would be good to
add a --started-by=foo command line option. If it's set to "systemd", we could
then adjust the default log target based on that. The option would also provide
useful information in "ps" output.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20180629/cb5dc6a7/attachment.html>


More information about the pulseaudio-bugs mailing list