Index: main.c =================================================================== --- main.c (revision 5446) +++ main.c (working copy) @@ -874,6 +874,21 @@ } /* + * Update the root certificate once every 5 minutes if we have client connections... + */ + + if ((current_time - RootCertTime) >= RootCertDuration && RootCertDuration && + !RunUser && cupsArrayCount(Clients)) + { + /* + * Update the root certificate... + */ + + cupsdDeleteCert(0); + cupsdAddCert(0, "root"); + } + + /* * Check for new data on the client sockets... */ @@ -993,21 +1008,6 @@ } /* - * Update the root certificate once every 5 minutes... - */ - - if ((current_time - RootCertTime) >= RootCertDuration && RootCertDuration && - !RunUser) - { - /* - * Update the root certificate... - */ - - cupsdDeleteCert(0); - cupsdAddCert(0, "root"); - } - - /* * Handle OS-specific event notification for any events that have * accumulated. Don't send these more than once a second... */ Index: dirsvc.c =================================================================== --- dirsvc.c (revision 5446) +++ dirsvc.c (working copy) @@ -539,7 +539,7 @@ return; } else - cupsdLogMessage(CUPSD_LOG_INFO, "Saving remote.cache..."); + cupsdLogMessage(CUPSD_LOG_DEBUG, "Saving remote.cache..."); /* * Restrict access to the file... @@ -799,7 +799,7 @@ (p->type & CUPS_PRINTER_CLASS) ? "Class" : "Printer", p->name); - cupsdLogMessage(CUPSD_LOG_INFO, + cupsdLogMessage(CUPSD_LOG_DEBUG, "Remote destination \"%s\" has timed out; " "deleting it...", p->name); @@ -1907,7 +1907,7 @@ if (p->type & CUPS_PRINTER_REMOTE) { - cupsdLogMessage(CUPSD_LOG_INFO, + cupsdLogMessage(CUPSD_LOG_DEBUG, "Renamed remote class \"%s\" to \"%s@%s\"...", p->name, p->name, p->hostname); cupsdAddEvent(CUPSD_EVENT_PRINTER_DELETED, p, NULL, @@ -1967,7 +1967,7 @@ p = cupsdAddClass(name); - cupsdLogMessage(CUPSD_LOG_INFO, "Added remote class \"%s\"...", name); + cupsdLogMessage(CUPSD_LOG_DEBUG, "Added remote class \"%s\"...", name); cupsdAddEvent(CUPSD_EVENT_PRINTER_ADDED, p, NULL, "Class \'%s\' added by directory services.", name); @@ -2010,7 +2010,7 @@ if (p->type & CUPS_PRINTER_REMOTE) { - cupsdLogMessage(CUPSD_LOG_INFO, + cupsdLogMessage(CUPSD_LOG_DEBUG, "Renamed remote printer \"%s\" to \"%s@%s\"...", p->name, p->name, p->hostname); cupsdAddEvent(CUPSD_EVENT_PRINTER_DELETED, p, NULL, @@ -2073,7 +2073,7 @@ cupsdAddEvent(CUPSD_EVENT_PRINTER_ADDED, p, NULL, "Printer \'%s\' added by directory services.", name); - cupsdLogMessage(CUPSD_LOG_INFO, "Added remote printer \"%s\"...", name); + cupsdLogMessage(CUPSD_LOG_DEBUG, "Added remote printer \"%s\"...", name); /* * Force the URI to point to the real server... @@ -2334,7 +2334,7 @@ update = 1; - cupsdLogMessage(CUPSD_LOG_INFO, "Added implicit class \"%s\"...", + cupsdLogMessage(CUPSD_LOG_DEBUG, "Added implicit class \"%s\"...", name); cupsdAddEvent(CUPSD_EVENT_PRINTER_ADDED, p, NULL, "Implicit class \'%s\' added by directory services.",