[SSSD] Ticket 1374

Stephen Gallagher sgallagh at redhat.com
Tue Jun 12 15:26:52 UTC 2012


On Mon, 2012-06-11 at 23:54 -0500, Ariel Barria wrote:
> Hi.
> Apology, I wanted to ask about ticket 1374.
> 
> What is required is to look for debug so 
> For Example:
>    DEBUG(9, ("Checking for DNS timeouts\n"));
> and change it so
>    DEBUG(SSSDBG_TRACE_ALL, ("Checking for DNS timeouts\n"));
> 
> Thanks for you time.
> 

CCing the sssd-devel list so others can chime in if they want to.


That's only a small piece of the work. We DO need to replace all of the
numeric values with the macro versions.

However, the bigger part of this job is going through and verifying that
the new macro levels actually make sense. For example, the one you cite
above doesn't really belong at SSSDBG_TRACE_ALL. That's probably better
at SSSDBG_TRACE_LIBS, unless it's very noisy (would show up in the logs
very often). In which case it belongs at SSSDBG_TRACE_INTERNAL.

SSSDBG_TRACE_ALL should be reserved for things that are really only used
for very specific reasons. Things like the pointer address of an SBUS
connection, or similar.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120612/9d019150/attachment.sig>


More information about the sssd-devel mailing list