Removed the logging facility from citserver, use syslog instead
[citadel.git] / citadel / modules / checkpoint / serv_checkpoint.c
index 0b36b086cd6c9025e0715a4f5ed40b4e25c55f8a..061f980a7289c7f8c3b758ae2524d75132a8c4af 100644 (file)
@@ -66,13 +66,13 @@ void *checkpoint_thread(void *arg) {
        CtdlFillSystemContext(&checkpointCC, "checkpoint");
        citthread_setspecific(MyConKey, (void *)&checkpointCC );
 
-       CtdlLogPrintf(CTDL_DEBUG, "checkpoint_thread() initializing\n");
+       syslog(LOG_DEBUG, "checkpoint_thread() initializing\n");
        while (!CtdlThreadCheckStop()) {
                cdb_checkpoint();
                CtdlThreadSleep(60);
        }
 
-       CtdlLogPrintf(CTDL_DEBUG, "checkpoint_thread() exiting\n");
+       syslog(LOG_DEBUG, "checkpoint_thread() exiting\n");
        CtdlClearSystemContext();
        return NULL;
 }