Index: src/main.c =================================================================== --- src/main.c (Revision 70954) +++ src/main.c (Arbeitskopie) @@ -604,6 +604,7 @@ #else cache_get_int("notifier_id", &old_id, -1); if ((long)old_id == -1) { + univention_debug(UV_DEBUG_LISTENER, UV_DEBUG_WARN, "Failed to get last notifier ID from cache"); cache_set_int("notifier_id", id); } #endif Index: src/notifier.c =================================================================== --- src/notifier.c (Revision 70954) +++ src/notifier.c (Arbeitskopie) @@ -111,6 +111,7 @@ for (;;) { int msgid; time_t timeout = DELAY_LDAP_CLOSE; + univention_debug(UV_DEBUG_LISTENER, UV_DEBUG_INFO, "Last Notifier ID: %lu", id); if ((msgid = notifier_get_dn(NULL, id+1)) < 1) break;