summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-08-02 13:21:47 +0200
committerAndreas Schneider <asn@samba.org>2010-08-02 16:42:39 +0200
commit307bd439d7f5df828923189c02fcbe30124d1e01 (patch)
tree3ec08f85c8d7d68e429ef7691219e040d6697c9c
parent4412bafa4460bbafe2170f980e8ce88937422529 (diff)
downloadsamba-307bd439d7f5df828923189c02fcbe30124d1e01.tar.gz
samba-307bd439d7f5df828923189c02fcbe30124d1e01.tar.bz2
samba-307bd439d7f5df828923189c02fcbe30124d1e01.zip
s3-spoolss: Move some debug message to a higher level.
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c2
-rw-r--r--source3/rpc_server/srv_spoolss_util.c12
2 files changed, 7 insertions, 7 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index 1d9632fe43..b62a7c0e68 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -528,7 +528,7 @@ static bool set_printer_hnd_name(TALLOC_CTX *mem_ctx,
sname,
&info2);
if ( !W_ERROR_IS_OK(result) ) {
- DEBUG(0,("set_printer_hnd_name: failed to lookup printer [%s] -- result [%s]\n",
+ DEBUG(2,("set_printer_hnd_name: failed to lookup printer [%s] -- result [%s]\n",
sname, win_errstr(result)));
continue;
}
diff --git a/source3/rpc_server/srv_spoolss_util.c b/source3/rpc_server/srv_spoolss_util.c
index 33d0cb1e1f..60d282551f 100644
--- a/source3/rpc_server/srv_spoolss_util.c
+++ b/source3/rpc_server/srv_spoolss_util.c
@@ -1983,7 +1983,7 @@ WERROR winreg_get_printer(TALLOC_CTX *mem_ctx,
&hive_hnd,
&key_hnd);
if (!W_ERROR_IS_OK(result)) {
- DEBUG(0, ("winreg_get_printer: Could not open key %s: %s\n",
+ DEBUG(2, ("winreg_get_printer: Could not open key %s: %s\n",
path, win_errstr(result)));
goto done;
}
@@ -2645,7 +2645,7 @@ WERROR winreg_get_printer_dataex(TALLOC_CTX *mem_ctx,
&hive_hnd,
&key_hnd);
if (!W_ERROR_IS_OK(result)) {
- DEBUG(0, ("winreg_get_printer_dataex: Could not open key %s: %s\n",
+ DEBUG(2, ("winreg_get_printer_dataex: Could not open key %s: %s\n",
key, win_errstr(result)));
goto done;
}
@@ -2762,7 +2762,7 @@ WERROR winreg_enum_printer_dataex(TALLOC_CTX *mem_ctx,
&hive_hnd,
&key_hnd);
if (!W_ERROR_IS_OK(result)) {
- DEBUG(0, ("winreg_enum_printer_dataex: Could not open key %s: %s\n",
+ DEBUG(2, ("winreg_enum_printer_dataex: Could not open key %s: %s\n",
key, win_errstr(result)));
goto done;
}
@@ -2918,7 +2918,7 @@ WERROR winreg_enum_printer_key(TALLOC_CTX *mem_ctx,
&hive_hnd,
&key_hnd);
if (!W_ERROR_IS_OK(result)) {
- DEBUG(0, ("winreg_enum_printer_key: Could not open key %s: %s\n",
+ DEBUG(2, ("winreg_enum_printer_key: Could not open key %s: %s\n",
key, win_errstr(result)));
goto done;
}
@@ -3143,7 +3143,7 @@ WERROR winreg_printer_get_changeid(TALLOC_CTX *mem_ctx,
&hive_hnd,
&key_hnd);
if (!W_ERROR_IS_OK(result)) {
- DEBUG(0, ("winreg_printer_get_changeid: Could not open key %s: %s\n",
+ DEBUG(2, ("winreg_printer_get_changeid: Could not open key %s: %s\n",
path, win_errstr(result)));
goto done;
}
@@ -3627,7 +3627,7 @@ WERROR winreg_printer_getform1(TALLOC_CTX *mem_ctx,
&hive_hnd,
&key_hnd);
if (!W_ERROR_IS_OK(result)) {
- DEBUG(0, ("winreg_printer_getform1: Could not open key %s: %s\n",
+ DEBUG(2, ("winreg_printer_getform1: Could not open key %s: %s\n",
TOP_LEVEL_CONTROL_FORMS_KEY, win_errstr(result)));
goto done;
}