summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-06-07 14:34:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:47 -0500
commitd20bc8c6f4c1ac1580311e0eaa1efc95354b7ff0 (patch)
tree6cfc6c1a0777be4bbd08fafe4a00cbe177319a81
parent30da4d8d93cbfc0062a6c97c2b8255670615405c (diff)
downloadsamba-d20bc8c6f4c1ac1580311e0eaa1efc95354b7ff0.tar.gz
samba-d20bc8c6f4c1ac1580311e0eaa1efc95354b7ff0.tar.bz2
samba-d20bc8c6f4c1ac1580311e0eaa1efc95354b7ff0.zip
r7370: change debug levels
metze (This used to be commit 665e4f0bd47117ce597f7eb6be0b89420582c471)
-rw-r--r--source4/rpc_server/spoolss/dcesrv_spoolss.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/rpc_server/spoolss/dcesrv_spoolss.c b/source4/rpc_server/spoolss/dcesrv_spoolss.c
index a6290cd882..41143e6f9b 100644
--- a/source4/rpc_server/spoolss/dcesrv_spoolss.c
+++ b/source4/rpc_server/spoolss/dcesrv_spoolss.c
@@ -1122,7 +1122,7 @@ static WERROR spoolss_OpenPrinterEx_printer(struct dcesrv_call_state *dce_call,
const char *server_name,
const char *printer_name)
{
- DEBUG(0, ("looking for printer [%s] (server[%s])\n", printer_name, server_name));
+ DEBUG(1, ("looking for printer [%s] (server[%s])\n", printer_name, server_name));
return WERR_INVALID_PRINTER_NAME;
}
@@ -1172,18 +1172,18 @@ static WERROR spoolss_OpenPrinterEx(struct dcesrv_call_state *dce_call, TALLOC_C
/* just "" as server is invalid */
if (strequal(server, "")) {
- DEBUG(0,("ivalid server: [%s][%s][%s]\n", r->in.printername, server, printer));
+ DEBUG(2,("ivalid server: [%s][%s][%s]\n", r->in.printername, server, printer));
return WERR_INVALID_PRINTER_NAME;
}
}
/* just "" is invalid */
if (strequal(printer, "")) {
- DEBUG(0,("invalid printer: [%s][%s][%s]\n", r->in.printername, server, printer));
+ DEBUG(2,("invalid printer: [%s][%s][%s]\n", r->in.printername, server, printer));
return WERR_INVALID_PRINTER_NAME;
}
- DEBUG(0,("printer: [%s][%s][%s]\n", r->in.printername, server, printer));
+ DEBUG(3,("printer: [%s][%s][%s]\n", r->in.printername, server, printer));
return spoolss_OpenPrinterEx_printer(dce_call, mem_ctx, r, server, printer);
}