[pulseaudio-tickets] [Bug 96842] option --log-level does not apply to 'capabilities' error message

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jul 14 08:54:45 UTC 2016


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

--- Comment #3 from freedesktop-bugzilla at ayaken.net ---
guess I'm still sleeping and didn't read the first sentence you wrote, Arun.

Can't you look at the configuration earlier, then? I think.. but you do,
AFAICT: 


My code reading had me thinking that daemon/caps.c:pa_drop_caps(), being called
by daemon/main.c:change_user(), which itself is called by daemon/main.c:main
some 550 lines down the road
(https://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/src/daemon/main.c#n902),
i.e., long after the command line options have been inspected (in L544 you're
switching over conf->cmd already, so at this point it MUST be set AFAIUI; log
level is set 50 lines earlier (L495); config is loaded in L477/480/483
(pa_cmdline_parse in L483)).

So I disagree with your assessment: My code reading had me come to the
conclusion that, although the command line argument has been read and
propagated into the configuration, the message "still" would print.

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


More information about the pulseaudio-bugs mailing list