On 12/02/2014 10:32 PM, Jakub Hrozek wrote:
On Tue, Dec 02, 2014 at 04:20:17PM -0500, Dmitri Pal wrote:
> On 12/02/2014 04:14 PM, Jakub Hrozek wrote:
>> On Tue, Dec 02, 2014 at 04:00:33PM -0500, Dmitri Pal wrote:
>>> HI,
>>>
>>> Do we have any place where we describe what level of output one would get
>>> with each level?
>> sssd.conf has some info:
>>
https://jhrozek.fedorapeople.org/sssd/git/man/sssd.conf.5.html
>
> This does not show how bitmap values map levels.
> IMO from usability POV levels a simpler though bitmaps are more flexible.
> If we want people to stop using 1-10 levels we need to stop recommending
> them and start recommending bitmaps.
We tried, but bitmaps are just too hard to use for most users. So we
added this sentence to the man page:
That is one thing, the other thing is that we are still quite
inconsistent with the bit maps in the old code where numeric levels were
used. The numbers were converted only on syntax level not the semantic one.
One day, we may want to make the bitmask more refined. For example we
can move too low level messages (such as sbus_toggle_watch, ldb tevent,
...) to a separate level because those are not usually needed but other
"level 9" messages can still be helpful.
----------------------------
SSSD supports two representations for specifying the debug level. The
simplest is to specify a decimal value from 0-9, which represents enabling
that level and all lower-level debug messages.
The more comprehensive option is to specify a hexadecimal
bitmask to enable or disable specific levels (such as if you
wish to suppress a level).
----------------------------
> But to do that we need to have at least
> a set of predefined ones that can address most common cases. And we need to
> document them somewhere.
> Ticket?
Feel free to file one. I'm afraid my point of view is narrowed because I
know the code..
TBH in reality I either just use "-d 3" to see failures, "-d 7" to
use
most traffic or "-d 10" to see everything including tracing...
_______________________________________________
sssd-users mailing list
sssd-users(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/sssd-users