On (29/07/16 10:05), Petr Cech wrote:
On 07/29/2016 09:52 AM, Lukas Slebodnik wrote:
> On (29/07/16 09:41), Petr Cech wrote:
> > On 07/29/2016 09:23 AM, Lukas Slebodnik wrote:
> > > What is a benefit of string "default ".
> >
> > Benefit is that we provide more information.
> >
> > > How does it improve reading debug messages with very high debug level?
> >
> > This patch doesn't improve reading in such way.
> >
> > > Why should we care wheter it's default or not?
> >
> > I was in situation during debug that I needed to know if value was default or
> > not.
> >
> It does not explain why we should care wheter it's default or not.
>
>
> > This debug messages have so high level that it will not visible in standard
> > deployment. Is there reason why we would like not to say what is default?
> >
> The default values are described in man page and from sssd point of view
> it does not matter whether the value is default or or it was explicitly
> set to default value in configuration file or it has non-default value.
>
> I'm sorry I asked first and I didn't get a sufficient answer.
> So one more time
> Why should we care whether it's default or not?
From SSSD point of view we don't care if value is default or not. It doesn't
influence logic of sssd.
From developer point of view it might be relevant. And that's my motivation
for sending it.
Would you be so kind and could you explain why it is importatn from developers
point of view?
The default values are described in man page and moreover developer can
see default in header/implementation files.
And I still miss a benefit of seeing the default value in log.
Neither for developer not for other users.
Could you elaborate a little bit. Or could you give few examples when is such
information useful?
LS