chiark / gitweb /
Log discarded junk events.
[disorder] / server / schedule.c
index c2cdb6d4ce352ebd403347cc18f82626db25662c..a932f2d4139db9529e38ec8b02a7ac2bd31f8814 100644 (file)
@@ -208,6 +208,7 @@ static int schedule_init_tid(ev_source *ev,
       if(priority && !strcmp(priority, "junk")) {
         /* Junk actions that are in the past are discarded during startup */
        /* TODO recurring events should be handled differently here */
+        info("junk event %s is in the past, discarding", id);
        if(cdel(cursor))
          goto deadlocked;
         /* Skip this time */