Bug 763460 (GLUSTER-1728) - glusterd log file location
Summary: glusterd log file location
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-1728
Product: GlusterFS
Classification: Community
Component: logging
Version: 3.1-alpha
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Amar Tumballi
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-28 10:34 UTC by Lakshmipathi G
Modified: 2015-12-01 16:45 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

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/'


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