Failure to find a CUPS printer, when auto-adding printers is not a level 0 error.
[kai/samba.git] / source3 / printing / print_cups.c
index c283937556653bf2bed77c14d941d042cc125651..7cf21c966e48bdd62f4ce92b49a7939036d52caa 100644 (file)
@@ -332,7 +332,7 @@ int cups_printername_ok(const char *name)
 
        if ((http = httpConnect(cupsServer(), ippPort())) == NULL)
        {
-               DEBUG(0,("Unable to connect to CUPS server %s - %s\n", 
+               DEBUG(3,("Unable to connect to CUPS server %s - %s\n", 
                         cupsServer(), strerror(errno)));
                return (0);
        }
@@ -374,7 +374,7 @@ int cups_printername_ok(const char *name)
 
        if ((response = cupsDoRequest(http, request, "/")) == NULL)
        {
-               DEBUG(0,("Unable to get printer status for %s - %s\n", name,
+               DEBUG(3,("Unable to get printer status for %s - %s\n", name,
                         ippErrorString(cupsLastError())));
                httpClose(http);
                return (0);
@@ -384,7 +384,7 @@ int cups_printername_ok(const char *name)
 
        if (response->request.status.status_code >= IPP_OK_CONFLICT)
        {
-               DEBUG(0,("Unable to get printer status for %s - %s\n", name,
+               DEBUG(3,("Unable to get printer status for %s - %s\n", name,
                         ippErrorString(response->request.status.status_code)));
                ippDelete(response);
                return (0);