Bug 763460 (GLUSTER-1728)

Summary: glusterd log file location
Product: [Community] GlusterFS Reporter: Lakshmipathi G <lakshmipathi>
Component: loggingAssignee: Amar Tumballi <amarts>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 3.1-alphaCC: amarts, gluster-bugs, rahulcs, vraman
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: RTP Mount Type: All
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Vijay Bellur 2010-09-28 08:50:36 UTC
PATCH: http://patches.gluster.com/patch/5033 in master (glusterd: logs is a symlink to default var log dir)

Comment 1 Lakshmipathi G 2010-09-28 10:34:42 UTC
currently we have glusterd/logs  under /etc , we need to move log files to /var/log 

#ls -l /etc/glusterd/
total 20
-rw-r--r-- 1 root root   42 Sep 28 02:47 glusterd.info
drwxr-xr-x 3 root root 4096 Sep 28 02:49 logs
drwxr-xr-x 3 root root 4096 Sep 28 05:43 nfs
drwxr-xr-x 2 root root 4096 Sep 28 03:24 peers
drwxr-xr-x 3 root root 4096 Sep 28 02:49 vols

apache log setup -

#ls -l /etc/httpd/
total 8
drwxr-xr-x. 2 root root 4096 Sep 15 18:32 conf
drwxr-xr-x. 2 root root 4096 Sep 15 18:32 conf.d
lrwxrwxrwx. 1 root root   19 Sep 15 18:32 logs -> ../../var/log/httpd

Comment 2 Amar Tumballi 2010-09-28 12:36:05 UTC
Now '/etc/glusterd/logs' points to '{$prefix}/var/log/glusterfs/'