s3-printing: Increase debug level for info that the db is empty.
authorAndreas Schneider <asn@samba.org>
Thu, 20 Sep 2012 08:20:31 +0000 (10:20 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 20 Sep 2012 10:01:48 +0000 (12:01 +0200)
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Sep 20 12:01:48 CEST 2012 on sn-devel-104

source3/printing/printer_list.c

index 7079ddc037a9ad7bb31299481718ca0eee5ef2b1..0afb84bd4db3a20e57b0aa52d0d2b18a266b5fe6 100644 (file)
@@ -92,7 +92,8 @@ NTSTATUS printer_list_get_printer(TALLOC_CTX *mem_ctx,
 
        status = dbwrap_fetch_bystring_upper(db, key, key, &data);
        if (!NT_STATUS_IS_OK(status)) {
-               DEBUG(1, ("Failed to fetch record!\n"));
+               DEBUG(6, ("Failed to fetch record! "
+                         "The printer database is empty?\n"));
                goto done;
        }