I would like to submit this patch to log4cpp :
It enables threading support in the CMake logic in order to correctly use
the %t pattern to show the id of the thread which produced the log. In other
words, the 'getThreadId()'method doesn't returns a dummy name anymore.