Removed the logging facility from citserver, use syslog instead
[citadel.git] / citadel / modules / test / serv_test.c
index 7538b401a321fc116401440b57c2ca9663c91062..797958f199b256b4321a957c704c6dda37629fad 100644 (file)
 
 
 void CleanupTest(void) {
-       CtdlLogPrintf(CTDL_DEBUG, "--- test of adding an unload hook --- \n");
+       syslog(LOG_DEBUG, "--- test of adding an unload hook --- \n");
        }
 
 void NewRoomTest(void) {
-       CtdlLogPrintf(CTDL_DEBUG, "--- test module was told we're now in a new room ---\n");
+       syslog(LOG_DEBUG, "--- test module was told we're now in a new room ---\n");
        }
 
 void SessionStartTest(void) {
-       CtdlLogPrintf(CTDL_DEBUG, "--- starting up session %d ---\n",
+       syslog(LOG_DEBUG, "--- starting up session %d ---\n",
                CC->cs_pid);
        }
 
 void SessionStopTest(void) {
-       CtdlLogPrintf(CTDL_DEBUG, "--- ending session %d ---\n", 
+       syslog(LOG_DEBUG, "--- ending session %d ---\n", 
                CC->cs_pid);
        }
 
 void LoginTest(void) {
-       CtdlLogPrintf(CTDL_DEBUG, "--- Hello, %s ---\n", CC->curr_user);
+       syslog(LOG_DEBUG, "--- Hello, %s ---\n", CC->curr_user);
        }
 
 /* To insert this module into the server activate the next block by changing the #if 0 to #if 1 */