summaryrefslogtreecommitdiff
path: root/source4/wrepl_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@sernet.de>2008-01-14 13:57:12 +0100
committerStefan Metzmacher <metze@samba.org>2009-01-19 07:05:25 +0100
commit65f096c8cda9efd6cffb29b52cac610664bbfbc2 (patch)
tree7db9b76c030684ef13f4e885aa89fc75e819705f /source4/wrepl_server
parent9598d775a5c1c26b502171737d00084f074e16f8 (diff)
downloadsamba-65f096c8cda9efd6cffb29b52cac610664bbfbc2.tar.gz
samba-65f096c8cda9efd6cffb29b52cac610664bbfbc2.tar.bz2
samba-65f096c8cda9efd6cffb29b52cac610664bbfbc2.zip
wreplsrv: don't log scavenging events at level 0
metze (from samba4wins tree 7a1d4fac9d77440c2c463bfdb2a5671e4817cfdf)
Diffstat (limited to 'source4/wrepl_server')
-rw-r--r--source4/wrepl_server/wrepl_scavenging.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/source4/wrepl_server/wrepl_scavenging.c b/source4/wrepl_server/wrepl_scavenging.c
index a239403e3b..d4301e41c7 100644
--- a/source4/wrepl_server/wrepl_scavenging.c
+++ b/source4/wrepl_server/wrepl_scavenging.c
@@ -144,7 +144,7 @@ static NTSTATUS wreplsrv_scavenging_owned_records(struct wreplsrv_service *servi
}
if (ret != NBT_RCODE_OK) {
- DEBUG(1,("WINS scavenging: failed to %s name %s (owned:%s -> owned:%s): error:%u\n",
+ DEBUG(2,("WINS scavenging: failed to %s name %s (owned:%s -> owned:%s): error:%u\n",
action, nbt_name_string(rec, rec->name), old_state, new_state, ret));
} else {
DEBUG(4,("WINS scavenging: %s name: %s (owned:%s -> owned:%s)\n",
@@ -250,7 +250,7 @@ static NTSTATUS wreplsrv_scavenging_replica_non_active_records(struct wreplsrv_s
}
if (ret != NBT_RCODE_OK) {
- DEBUG(1,("WINS scavenging: failed to %s name %s (replica:%s -> replica:%s): error:%u\n",
+ DEBUG(2,("WINS scavenging: failed to %s name %s (replica:%s -> replica:%s): error:%u\n",
action, nbt_name_string(rec, rec->name), old_state, new_state, ret));
} else {
DEBUG(4,("WINS scavenging: %s name: %s (replica:%s -> replica:%s)\n",
@@ -326,7 +326,7 @@ static void verify_handler(struct irpc_request *ireq)
* which will then propagate it's own record, so that the current record will
* be replicated to to us
*/
- DEBUG(0,("WINS scavenging: replica %s verify got different addresses from winsserver: %s: tombstoning record\n",
+ DEBUG(2,("WINS scavenging: replica %s verify got different addresses from winsserver: %s: tombstoning record\n",
nbt_name_string(rec, rec->name), rec->wins_owner));
rec->state = WREPL_STATE_TOMBSTONE;
@@ -361,7 +361,7 @@ static void verify_handler(struct irpc_request *ireq)
}
if (ret != NBT_RCODE_OK) {
- DEBUG(1,("WINS scavenging: failed to %s name %s (replica:%s -> %s:%s): error:%u\n",
+ DEBUG(2,("WINS scavenging: failed to %s name %s (replica:%s -> %s:%s): error:%u\n",
action, nbt_name_string(rec, rec->name), old_state, new_owner, new_state, ret));
} else {
DEBUG(4,("WINS scavenging: %s name: %s (replica:%s -> %s:%s): %s: %s\n",
@@ -430,7 +430,7 @@ static NTSTATUS wreplsrv_scavenging_replica_active_records(struct wreplsrv_servi
* DCERPC calls or some WINSREPL packets for this,
* but we use a wins name query
*/
- DEBUG(0,("ask wins server '%s' if '%s' with version_id:%llu still exists\n",
+ DEBUG(2,("ask wins server '%s' if '%s' with version_id:%llu still exists\n",
rec->wins_owner, nbt_name_string(rec, rec->name),
(unsigned long long)rec->version));
@@ -491,7 +491,7 @@ NTSTATUS wreplsrv_scavenging_run(struct wreplsrv_service *service)
return NT_STATUS_OK;
}
- DEBUG(4,("wreplsrv_scavenging_run(): start\n"));
+ DEBUG(2,("wreplsrv_scavenging_run(): start\n"));
tmp_mem = talloc_new(service);
NT_STATUS_HAVE_NO_MEMORY(tmp_mem);
@@ -517,7 +517,7 @@ NTSTATUS wreplsrv_scavenging_run(struct wreplsrv_service *service)
talloc_free(tmp_mem);
NT_STATUS_NOT_OK_RETURN(status);
- DEBUG(4,("wreplsrv_scavenging_run(): end\n"));
+ DEBUG(2,("wreplsrv_scavenging_run(): end\n"));
return NT_STATUS_OK;
}