<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - option --log-level does not apply to 'capabilities' error message"
href="https://bugs.freedesktop.org/show_bug.cgi?id=96842#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - option --log-level does not apply to 'capabilities' error message"
href="https://bugs.freedesktop.org/show_bug.cgi?id=96842">bug 96842</a>
from <span class="vcard"><a class="email" href="mailto:freedesktop-bugzilla@ayaken.net" title="freedesktop-bugzilla@ayaken.net">freedesktop-bugzilla@ayaken.net</a>
</span></b>
<pre>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
(<a href="https://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/src/daemon/main.c#n902">https://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/src/daemon/main.c#n902</a>),
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>