Removed logging subsystem from webcit. It's all syslog now.
[citadel.git] / webcit / serv_func.c
index 6a53a36781932b2271b31d3c74c8594046e52762..6e9b3001c1c16117fb1214bd39c1f19b05a5cb98 100644 (file)
@@ -63,7 +63,7 @@ ServInfo *get_serv_info(StrBuf *browser_host, StrBuf *user_agent)
        );
        StrBuf_ServGetln(Buf);
        if (GetServerStatus(Buf, NULL) != 2) {
-               lprintf(0, "get_serv_info(IDEN): unexpected answer [%s]\n",
+               syslog(0, "get_serv_info(IDEN): unexpected answer [%s]\n",
                        ChrPtr(Buf));
                FreeStrBuf(&Buf);
                return NULL;
@@ -77,7 +77,7 @@ ServInfo *get_serv_info(StrBuf *browser_host, StrBuf *user_agent)
        serv_puts("ICAL sgi|1");
        StrBuf_ServGetln(Buf);
        if (GetServerStatus(Buf, NULL) != 2) {
-               lprintf(0, "get_serv_info(ICAL sgi|1): unexpected answer [%s]\n",
+               syslog(0, "get_serv_info(ICAL sgi|1): unexpected answer [%s]\n",
                        ChrPtr(Buf));
                FreeStrBuf(&Buf);
                return NULL;
@@ -87,7 +87,7 @@ ServInfo *get_serv_info(StrBuf *browser_host, StrBuf *user_agent)
        serv_puts("INFO");
        StrBuf_ServGetln(Buf);
        if (GetServerStatus(Buf, NULL) != 1) {
-               lprintf(0, "get_serv_info(INFO sgi|1): unexpected answer [%s]\n",
+               syslog(0, "get_serv_info(INFO sgi|1): unexpected answer [%s]\n",
                        ChrPtr(Buf));
                FreeStrBuf(&Buf);
                return NULL;