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

Michael Adam obnox at samba.org
Sat Sep 27 17:23:51 MDT 2014


pushed to autobuild

On 2014-09-27 at 16:11 +0200, Jelmer Vernooij wrote:
> 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
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20140928/489aa177/attachment.pgp>


More information about the samba-technical mailing list