summaryrefslogtreecommitdiff
path: root/source4/wrepl_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@sernet.de>2008-01-14 13:52:14 +0100
committerStefan Metzmacher <metze@samba.org>2009-01-19 07:05:24 +0100
commit6d107fff13ad42828085ce368dc6e02e24f87713 (patch)
tree7be29a62e3c4e1e6b84a77bf36f5e23ea55cc71d /source4/wrepl_server
parentbbd74f2f760184b88341f35f2769b91480e8eb9d (diff)
downloadsamba-6d107fff13ad42828085ce368dc6e02e24f87713.tar.gz
samba-6d107fff13ad42828085ce368dc6e02e24f87713.tar.bz2
samba-6d107fff13ad42828085ce368dc6e02e24f87713.zip
wreplsrv: log replication failures at log level 0
metze (from samba4wins tree 405cbb74b7191e744178894a5e0ac4abcac2a4fe)
Diffstat (limited to 'source4/wrepl_server')
-rw-r--r--source4/wrepl_server/wrepl_in_call.c12
-rw-r--r--source4/wrepl_server/wrepl_out_pull.c4
2 files changed, 8 insertions, 8 deletions
diff --git a/source4/wrepl_server/wrepl_in_call.c b/source4/wrepl_server/wrepl_in_call.c
index ac44b4d75d..a4f18ff2da 100644
--- a/source4/wrepl_server/wrepl_in_call.c
+++ b/source4/wrepl_server/wrepl_in_call.c
@@ -445,7 +445,7 @@ static NTSTATUS wreplsrv_in_replication(struct wreplsrv_in_call *call)
switch (repl_in->command) {
case WREPL_REPL_TABLE_QUERY:
if (!(call->wreplconn->partner->type & WINSREPL_PARTNER_PUSH)) {
- DEBUG(2,("Failing WINS replication TABLE_QUERY from non-push-partner %s\n",
+ DEBUG(0,("Failing WINS replication TABLE_QUERY from non-push-partner %s\n",
call->wreplconn->partner->address));
return wreplsrv_in_stop_assoc_ctx(call);
}
@@ -457,7 +457,7 @@ static NTSTATUS wreplsrv_in_replication(struct wreplsrv_in_call *call)
case WREPL_REPL_SEND_REQUEST:
if (!(call->wreplconn->partner->type & WINSREPL_PARTNER_PUSH)) {
- DEBUG(2,("Failing WINS replication SEND_REQUESET from non-push-partner %s\n",
+ DEBUG(0,("Failing WINS replication SEND_REQUESET from non-push-partner %s\n",
call->wreplconn->partner->address));
return wreplsrv_in_stop_assoc_ctx(call);
}
@@ -469,7 +469,7 @@ static NTSTATUS wreplsrv_in_replication(struct wreplsrv_in_call *call)
case WREPL_REPL_UPDATE:
if (!(call->wreplconn->partner->type & WINSREPL_PARTNER_PULL)) {
- DEBUG(2,("Failing WINS replication UPDATE from non-pull-partner %s\n",
+ DEBUG(0,("Failing WINS replication UPDATE from non-pull-partner %s\n",
call->wreplconn->partner->address));
return wreplsrv_in_stop_assoc_ctx(call);
}
@@ -478,7 +478,7 @@ static NTSTATUS wreplsrv_in_replication(struct wreplsrv_in_call *call)
case WREPL_REPL_UPDATE2:
if (!(call->wreplconn->partner->type & WINSREPL_PARTNER_PULL)) {
- DEBUG(2,("Failing WINS replication UPDATE2 from non-pull-partner %s\n",
+ DEBUG(0,("Failing WINS replication UPDATE2 from non-pull-partner %s\n",
call->wreplconn->partner->address));
return wreplsrv_in_stop_assoc_ctx(call);
}
@@ -487,7 +487,7 @@ static NTSTATUS wreplsrv_in_replication(struct wreplsrv_in_call *call)
case WREPL_REPL_INFORM:
if (!(call->wreplconn->partner->type & WINSREPL_PARTNER_PULL)) {
- DEBUG(2,("Failing WINS replication INFORM from non-pull-partner %s\n",
+ DEBUG(0,("Failing WINS replication INFORM from non-pull-partner %s\n",
call->wreplconn->partner->address));
return wreplsrv_in_stop_assoc_ctx(call);
}
@@ -496,7 +496,7 @@ static NTSTATUS wreplsrv_in_replication(struct wreplsrv_in_call *call)
case WREPL_REPL_INFORM2:
if (!(call->wreplconn->partner->type & WINSREPL_PARTNER_PULL)) {
- DEBUG(2,("Failing WINS replication INFORM2 from non-pull-partner %s\n",
+ DEBUG(0,("Failing WINS replication INFORM2 from non-pull-partner %s\n",
call->wreplconn->partner->address));
return wreplsrv_in_stop_assoc_ctx(call);
}
diff --git a/source4/wrepl_server/wrepl_out_pull.c b/source4/wrepl_server/wrepl_out_pull.c
index d508cc094b..f3eed30d88 100644
--- a/source4/wrepl_server/wrepl_out_pull.c
+++ b/source4/wrepl_server/wrepl_out_pull.c
@@ -62,7 +62,7 @@ static void wreplsrv_pull_handler_creq(struct composite_context *creq)
retry_interval = partner->pull.error_count * partner->pull.retry_interval;
retry_interval = MIN(retry_interval, partner->pull.interval);
- DEBUG(1,("wreplsrv_pull_cycle(%s): %s: error_count: %u: reschedule(%u)\n",
+ DEBUG(0,("wreplsrv_pull_cycle(%s): %s: error_count: %u: reschedule(%u)\n",
partner->address, nt_errstr(partner->pull.last_status),
partner->pull.error_count, retry_interval));
@@ -70,7 +70,7 @@ static void wreplsrv_pull_handler_creq(struct composite_context *creq)
goto done;
}
- DEBUG(1,("wreplsrv_pull_cycle(%s): %s: error_count:%u retry\n",
+ DEBUG(0,("wreplsrv_pull_cycle(%s): %s: error_count:%u retry\n",
partner->address, nt_errstr(partner->pull.last_status),
partner->pull.error_count));
inform_in.partner_count = old_cycle_io->in.num_owners;