On 12/02/2014 04: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:
>
>----------------------------
>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...
And this is exactly what we need to put on the troubleshooting page and use
as a general guidance.
So do we need a ticket? Martin?