X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fmodules%2Ftest%2Fserv_test.c;h=797958f199b256b4321a957c704c6dda37629fad;hp=7538b401a321fc116401440b57c2ca9663c91062;hb=f1ee61891901850ebbdee1e9440b363dc6df540a;hpb=2d03b6864a657a706b8d2917d912e579b2298025 diff --git a/citadel/modules/test/serv_test.c b/citadel/modules/test/serv_test.c index 7538b401a..797958f19 100644 --- a/citadel/modules/test/serv_test.c +++ b/citadel/modules/test/serv_test.c @@ -46,25 +46,25 @@ 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 */