Bug 763467 (GLUSTER-1735) - log rotate with brick option
Summary: log rotate with brick option
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-1735
Product: GlusterFS
Classification: Community
Component: logging
Version: 3.0.5
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-29 05:17 UTC by Lakshmipathi G
Modified: 2015-12-01 16:45 UTC (History)
3 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 Lakshmipathi G 2010-09-29 05:17:43 UTC
log rotate will rename the existing file and create a new one.

but its not working  when brick option is provided-
==============
#gluster volume log rotate test 10.192.141.187:/mnt/a4
log rotate successful
10.192.141.187#ls -ltr /etc/glusterd/logs/bricks
total 16
-rw-r--r-- 1 root root 13952 Sep 28 06:36 mnt-a4.log
==============

Comment 1 Lakshmipathi G 2010-09-30 03:59:27 UTC
tested again with qa35 -


#gluster volume log rotate add1 10.192.141.187:/mnt/add1
log rotate successful
10.192.141.187#ls -ltr /etc/glusterd/logs/bricks/
total 4
-rw-r--r-- 1 root root 3542 Sep 30 02:52 mnt-add1.log
-----------------------------
without brick option it works with qa35

10.192.141.187#gluster volume log rotate add1                         
log rotate successful
10.192.141.187#ls -ltr /etc/glusterd/logs/bricks/
total 8
-rw-r--r-- 1 root root 3656 Sep 30 02:56 mnt-add1.log.1285829802
-rw-rw-rw- 1 root root  107 Sep 30 02:56 mnt-add1.log


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