Removed the logging facility from citserver, use syslog instead
[citadel.git] / citadel / modules / urldeshortener / serv_expand_shorter_urls.c
index 7dc2096682f590b4577ead56bcbf1891e5f00b2f..0bc442f57e1fe77bddc54d6dd8f849e904e85948 100644 (file)
@@ -123,7 +123,7 @@ int LookupUrl(StrBuf *ShorterUrlStr)
                          LookupUrlResult, 
                          TerminateLookupUrl))
        {
-               CtdlLogPrintf(CTDL_ALERT, "Unable to initialize libcurl.\n");
+               syslog(LOG_ALERT, "Unable to initialize libcurl.\n");
                goto shutdown;
        }
        chnd = IO->HttpReq.chnd;
@@ -325,7 +325,7 @@ CTDL_MODULE_INIT(urldeshortener)
 {
        if (threading)
        {
-               CtdlLogPrintf(CTDL_INFO, "%s\n", curl_version());
+               syslog(LOG_INFO, "%s\n", curl_version());
        }
        else 
        {