]> code.citadel.org Git - citadel.git/blobdiff - webcit/siteconfig.c
SYSLOG: more places to correct the loglevel parameters.
[citadel.git] / webcit / siteconfig.c
index 7a93d44af096e10b43b155c49a502584d88cc3bc..8e5ab68c0445ae98017dc887cee1e3c769c7084a 100644 (file)
@@ -36,7 +36,6 @@ void LoadExpirePolicy(GPEXWhichPolicy which)
        serv_printf("GPEX %s", ExpirePolicyStrings[which][0].Key);
        Buf = NewStrBuf();
        StrBuf_ServGetln(Buf);
-       WCC->Policy[which].loaded = 1;
        if (GetServerStatus(Buf, &State) == 2) {
                Pos = ChrPtr(Buf) + 4;
                WCC->Policy[which].expire_mode = StrBufExtractNext_long(Buf, &Pos, '|');
@@ -114,7 +113,7 @@ void LoadZoneFiles(void)
        Put(ZoneHash, HKEY("UTC"), ZName, HFreeStrBuf);
        zones = icaltimezone_get_builtin_timezones();
        for (z = 0; z < zones->num_elements; ++z) {
-               /* syslog(9, "Location: %-40s tzid: %s\n",
+               /* syslog(LOG_DEBUG, "Location: %-40s tzid: %s\n",
                        icaltimezone_get_location(icalarray_element_at(zones, z)),
                        icaltimezone_get_tzid(icalarray_element_at(zones, z))
                ); */
@@ -252,8 +251,9 @@ void load_siteconfig(void)
                        Buf = NewStrBuf();
                }
                else {
-                       if (j == 0)
-                               AppendImportantMessage(_("WARNING: Failed to parse Server Config; do you run a to new citserver?"), -1);
+                       if (j == 0) {
+                               syslog(LOG_WARNING, "The server sent more configuration data than this version of webcit is capable of changing.  Unknown configuration values will remain unchanged.");
+                       }
                        j++;
                }
        }