[patch] add timestamps to nscd debug logs

Jeffrey Bastian jbastian@redhat.com
Thu Oct 15 15:26:00 GMT 2009


Hello,

When nscd debugging is enabled, the debug log file does not contain 
timestamps.  If you're trying to debug a sporadic problem, it can be 
difficult to map debug log entries to when the problem happened.

Attached is a patch to add timestamps to the nscd debug log.

It also uses the thread id instead of the process id on Linux systems.

I've opened a bz at
   http://sources.redhat.com/bugzilla/show_bug.cgi?id=10742

Thank you,
Jeff Bastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nscd-logging.patch
Type: text/x-patch
Size: 1205 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20091015/c427ac71/attachment.bin>


More information about the Libc-alpha mailing list