From 79eb00e2268cc72ad76e666ccb3e44cfa575037c Mon Sep 17 00:00:00 2001 From: Fedor Date: Mon, 3 May 2010 20:37:38 -0400 Subject: [PATCH] Samba 3: reduce logging --- release/src/router/samba3/source/nmbd/nmbd_incomingrequests.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/release/src/router/samba3/source/nmbd/nmbd_incomingrequests.c b/release/src/router/samba3/source/nmbd/nmbd_incomingrequests.c index eaef7097b4..f22a967e56 100644 --- a/release/src/router/samba3/source/nmbd/nmbd_incomingrequests.c +++ b/release/src/router/samba3/source/nmbd/nmbd_incomingrequests.c @@ -75,7 +75,7 @@ void process_name_release_request(struct subnet_record *subrec, the request was malformed. Either way, log an error here. and send an error reply back. */ - DEBUG(0,("process_name_release_request: unicast name release request \ + DEBUG(1,("process_name_release_request: unicast name release request \ received for name %s from IP %s on subnet %s. Error - should be sent to WINS server\n", nmb_namestr(question), inet_ntoa(owner_ip), subrec->subnet_name)); @@ -167,10 +167,9 @@ void process_name_refresh_request(struct subnet_record *subrec, the request was malformed. Either way, log an error here. and send an error reply back. */ - DEBUG(0,("process_name_refresh_request: unicast name registration request \ -received for name %s from IP %s on subnet %s.\n", + DEBUG(1,("process_name_refresh_request: unicast name registration request \ +received for name %s from IP %s on subnet %s. Error - should be sent to WINS server\n", nmb_namestr(question), inet_ntoa(from_ip), subrec->subnet_name)); - DEBUG(0,("Error - should be sent to WINS server\n")); send_name_registration_response(FMT_ERR, 0, p); return; @@ -208,7 +207,7 @@ void process_name_registration_request(struct subnet_record *subrec, the request was malformed. Either way, log an error here. and send an error reply back. */ - DEBUG(0,("process_name_registration_request: unicast name registration request \ + DEBUG(1,("process_name_registration_request: unicast name registration request \ received for name %s from IP %s on subnet %s. Error - should be sent to WINS server\n", nmb_namestr(question), inet_ntoa(from_ip), subrec->subnet_name)); -- 2.11.4.GIT