[PATCH] fileserver: raise debug level for share connection closing for non-IPC to 2.

Jelmer Vernooij jelmer at samba.org
Sat Sep 27 08:11:43 MDT 2014


This reduces spamming during 'make test' runs.

This change is consistent with aad5eeb9b4f67b03988ceefb7888cb63ecefcf30, which raised the log level for logging of new non-IPC connections.

Signed-Off-By: Jelmer Vernooij <jelmer at samba.org>
Change-Id: I4343570c8d6158b6715e514a8a7cd323a9c727ae
---
 source3/smbd/service.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index d61405e..3fd0fc8 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -1127,7 +1127,7 @@ void close_cnum(connection_struct *conn, uint64_t vuid)
 
 	change_to_root_user();
 
-	DEBUG(IS_IPC(conn)?3:1, ("%s (%s) closed connection to service %s\n",
+	DEBUG(IS_IPC(conn)?3:2, ("%s (%s) closed connection to service %s\n",
 				 get_remote_machine_name(),
 				 tsocket_address_string(conn->sconn->remote_address,
 							talloc_tos()),
-- 
2.1.1



More information about the samba-technical mailing list