Bug 764369 (GLUSTER-2637) - gsyncd --debug broken
Summary: gsyncd --debug broken
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-2637
Product: GlusterFS
Classification: Community
Component: geo-replication
Version: mainline
Hardware: x86_64
OS: Linux
medium
low
Target Milestone: ---
Assignee: Csaba Henk
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-31 08:53 UTC by Csaba Henk
Modified: 2011-05-16 10:46 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: RTA
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.