X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Ftasks.c;h=d9afe93a19e8742ace9b81b2ddd733cc0478316e;hb=6fd1e59f005b06d5c005a5467753be4381a114a3;hp=a58edbb7b99167c4b2fbefc36ddcf582be245aa9;hpb=c34c2775f70ea5557ec411b40f8e9b9eb7c19f2c;p=citadel.git diff --git a/webcit/tasks.c b/webcit/tasks.c index a58edbb7b..d9afe93a1 100644 --- a/webcit/tasks.c +++ b/webcit/tasks.c @@ -504,7 +504,7 @@ void save_individual_task(icalcomponent *supplied_vtodo, long msgnum, char* from ); } /** Give this task a UID if it doesn't have one. */ - syslog(9, "Give this task a UID if it doesn't have one.\n"); + syslog(LOG_DEBUG, "Give this task a UID if it doesn't have one.\n"); if (icalcomponent_get_first_property(vtodo, ICAL_UID_PROPERTY) == NULL) { generate_uuid(buf); @@ -514,17 +514,17 @@ void save_individual_task(icalcomponent *supplied_vtodo, long msgnum, char* from } /* Increment the sequence ID */ - syslog(9, "Increment the sequence ID\n"); + syslog(LOG_DEBUG, "Increment the sequence ID\n"); while (prop = icalcomponent_get_first_property(vtodo, ICAL_SEQUENCE_PROPERTY), (prop != NULL) ) { i = icalproperty_get_sequence(prop); - syslog(9, "Sequence was %d\n", i); + syslog(LOG_DEBUG, "Sequence was %d\n", i); if (i > sequence) sequence = i; icalcomponent_remove_property(vtodo, prop); icalproperty_free(prop); } ++sequence; - syslog(9, "New sequence is %d. Adding...\n", sequence); + syslog(LOG_DEBUG, "New sequence is %d. Adding...\n", sequence); icalcomponent_add_property(vtodo, icalproperty_new_sequence(sequence) ); @@ -536,7 +536,7 @@ void save_individual_task(icalcomponent *supplied_vtodo, long msgnum, char* from * can't encapsulate something that may already be encapsulated * somewhere else. */ - syslog(9, "Encapsulating into a full VCALENDAR component\n"); + syslog(LOG_DEBUG, "Encapsulating into a full VCALENDAR component\n"); encaps = ical_encapsulate_subcomponent(icalcomponent_new_clone(vtodo)); /* Serialize it and save it to the message base */