Univention Bugzilla – Attachment #7797: Add two additional essential debug messages. for bug #41486
#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
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;