]> code.citadel.org Git - citadel.git/blobdiff - citadel/threads.c
Thread log was too verbose when writing to disk
[citadel.git] / citadel / threads.c
index c4003b012086dc9eba69cbbdcff3448fb09e5b6d..a1497d98c35907ce25c6198f95a1ec9e407cb146 100644 (file)
@@ -471,7 +471,7 @@ int CtdlThreadCheckStop(void)
        
        state = CT->state;
 
-#ifdef THREADS_USERSIGNALS
+#ifdef THREADS_USESIGNALS
        if (CT->signal)
                CtdlLogPrintf(CTDL_DEBUG, "Thread \"%s\" caught signal %d.\n", CT->name, CT->signal);
 #endif
@@ -626,9 +626,9 @@ void CtdlThreadGC (void)
        if(num_threads == 1)
                CtdlThreadList->state = CTDL_THREAD_EXITED;
        
-// #ifdef WITH_THREADLOG
+#ifdef WITH_THREADLOG
        CtdlLogPrintf(CTDL_DEBUG, "Thread system running garbage collection.\n");
-// #endif
+#endif
        /*
         * Woke up to do garbage collection
         */