From f063951d75b98406b23a7a12828b2a58a5f446bf Mon Sep 17 00:00:00 2001 From: Poornima Date: Fri, 18 Oct 2013 04:51:21 +0000 Subject: extras/hook-scripts: Enable per client logging for gluster shares served by SAMBA Edited hook scrips to add a variable in the option 'log file', which will be substituted for client IP. Change-Id: I50f143bb3114eb00afab2e1237d749804c885ca6 BUG: 1020848 Signed-off-by: Poornima Reviewed-on: http://review.gluster.org/6109 Reviewed-by: Niels de Vos Tested-by: Gluster Build System --- extras/hook-scripts/S30samba-start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extras/hook-scripts/S30samba-start.sh') diff --git a/extras/hook-scripts/S30samba-start.sh b/extras/hook-scripts/S30samba-start.sh index 9f1b20a25..34fde0ef8 100755 --- a/extras/hook-scripts/S30samba-start.sh +++ b/extras/hook-scripts/S30samba-start.sh @@ -63,7 +63,7 @@ function add_samba_share () { STRING+="comment = For samba share of volume $volname\n" STRING+="vfs objects = glusterfs\n" STRING+="glusterfs:volume = $volname\n" - STRING+="glusterfs:logfile = $LOGFILEBASE/glusterfs-$volname.log\n" + STRING+="glusterfs:logfile = $LOGFILEBASE/glusterfs-$volname.%%M.log\n" STRING+="glusterfs:loglevel = 7\n" STRING+="path = /\n" STRING+="read only = no\n" -- cgit