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 actually happened without timestamps. 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.
Created attachment 4259 [details] patch to add timestamps to nscd log
Created attachment 4338 [details] updated patch This updated patch only adds the timestamps to the logs (it removes the thread id logging).
I've applied a slightly modified patch.