Bug 764369 (GLUSTER-2637)

Summary: gsyncd --debug broken
Product: [Community] GlusterFS Reporter: Csaba Henk <csaba>
Component: geo-replicationAssignee: Csaba Henk <csaba>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: mainlineCC: gluster-bugs, kbudiger, lakshmipathi
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: RTA Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Vijay Bellur 2011-03-31 08:20:08 UTC
PATCH: http://patches.gluster.com/patch/6658 in master (syncdaemon: fix "--debug" option of gsyncd.py)

Comment 1 Csaba Henk 2011-03-31 08:53:57 UTC
We spotted --debug does not override the log-file setting in config file.

Comment 2 Lakshmipathi G 2011-04-15 12:30:36 UTC
log-level can be set as debug - tested with 3.2.0qa12
# gluster volume gsync config  :beta1 root.compute.amazonaws.com::slave log-level debug
config-set successful


[root@ip-10-170-205-102 mntpt]# gluster volume gsync config  :beta1 root.compute.amazonaws.com::slave
state_file: /etc/glusterd/gsync/gluster%3A%2F%2F127.0.0.1%3Abeta1/ssh%3A%2F%2Froot%4079.125.76.86%3Agluster%3A%2F%2F127.0.0.1%3Aslave.status
log_level: debug
ssh_command: ssh -oPasswordAuthentication=no
pid_file: /etc/glusterd/gsync/gluster%3A%2F%2F127.0.0.1%3Abeta1/ssh%3A%2F%2Froot%4079.125.76.86%3Agluster%3A%2F%2F127.0.0.1%3Aslave.pid
log_file: /usr/local/var/log/glusterfs/gsync/gluster%3A%2F%2F127.0.0.1%3Abeta1/ssh%3A%2F%2Froot%4079.125.76.86%3Agluster%3A%2F%2F127.0.0.1%3Aslave.log
remote_gsyncd: /usr/local/libexec/glusterfs/gsyncd -l /tmp/slave.log
gluster_command: /usr/local/sbin/glusterfs