Removed the logging facility from citserver, use syslog instead
[citadel.git] / citadel / modules / listsub / serv_listsub.c
index 2e1355f55f8ee7bd76f53d6cf180125a9d64b85c..3ad989ab579a4da38e1a20db5059614ca18525a2 100644 (file)
@@ -1,6 +1,4 @@
 /*
- * $Id$
- *
  * This module handles self-service subscription/unsubscription to mail lists.
  *
  * Copyright (c) 2002-2009 by the citadel.org team
@@ -517,7 +515,7 @@ void do_confirm(char *room, char *token) {
         */
        if (success) {
                cprintf("%d %d operation(s) confirmed.\n", CIT_OK, success);
-               CtdlLogPrintf(CTDL_NOTICE, 
+               syslog(LOG_NOTICE, 
                        "Mailing list: %s %ssubscribed to %s with token %s\n", 
                        email, 
                        (!IsEmptyStr(address_to_unsubscribe)) ? "un" : "", 
@@ -587,5 +585,5 @@ CTDL_MODULE_INIT(listsub)
        }
        
        /* return our Subversion id for the Log */
-       return "$Id$";
+       return "listsub";
 }