X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fcalendar_tools.c;h=daefe82fd27dbe0b8d2b5f3d98cd2ff00ee9335d;hb=156d3eaa1b5d85cb70a79046bd874ab832df6ff1;hp=5fffee44c3b692e5358fa4c78629165fde99c176;hpb=0a539bec4b26705fffd322796e683aa214863abb;p=citadel.git diff --git a/webcit/calendar_tools.c b/webcit/calendar_tools.c index 5fffee44c..daefe82fd 100644 --- a/webcit/calendar_tools.c +++ b/webcit/calendar_tools.c @@ -243,7 +243,7 @@ icalcomponent *ical_encapsulate_subcomponent(icalcomponent *subcomp) { int zone_already_attached; if (subcomp == NULL) { - syslog(3, "ERROR: ical_encapsulate_subcomponent() called with NULL argument\n"); + syslog(LOG_WARNING, "ERROR: ical_encapsulate_subcomponent() called with NULL argument\n"); return NULL; } @@ -251,7 +251,7 @@ icalcomponent *ical_encapsulate_subcomponent(icalcomponent *subcomp) { * If we're already looking at a full VCALENDAR component, this is probably an error. */ if (icalcomponent_isa(subcomp) == ICAL_VCALENDAR_COMPONENT) { - syslog(3, "ERROR: component sent to ical_encapsulate_subcomponent() already top level\n"); + syslog(LOG_WARNING, "ERROR: component sent to ical_encapsulate_subcomponent() already top level\n"); return subcomp; } @@ -281,11 +281,11 @@ icalcomponent *ical_encapsulate_subcomponent(icalcomponent *subcomp) { for (i=0; i<5; ++i) { if (z == attached_zones[i]) { ++zone_already_attached; - syslog(9, "zone already attached!!\n"); + syslog(LOG_DEBUG, "zone already attached!!\n"); } } if ((!zone_already_attached) && (num_zones_attached < 5)) { - syslog(9, "attaching zone %d!\n", num_zones_attached); + syslog(LOG_DEBUG, "attaching zone %d!\n", num_zones_attached); attached_zones[num_zones_attached++] = z; } @@ -299,7 +299,7 @@ icalcomponent *ical_encapsulate_subcomponent(icalcomponent *subcomp) { /* Encapsulate the VEVENT component into a complete VCALENDAR */ encaps = icalcomponent_new(ICAL_VCALENDAR_COMPONENT); if (encaps == NULL) { - syslog(3, "ERROR: ical_encapsulate_subcomponent() could not allocate component\n"); + syslog(LOG_WARNING, "ERROR: ical_encapsulate_subcomponent() could not allocate component\n"); return NULL; }