Bug 764467 (GLUSTER-2735) - log stats commands (top/profile) to cmd log
Summary: log stats commands (top/profile) to cmd log
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-2735
Product: GlusterFS
Classification: Community
Component: glusterd
Version: mainline
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Pranith Kumar K
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-13 04:10 UTC by Pranith Kumar K
Modified: 2011-04-13 11:30 UTC (History)
3 users (show)

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


Attachments (Terms of Use)

Description Pranith Kumar K 2011-04-13 04:10:08 UTC
The stats commands are not logged to command history at the moment.

Comment 1 Anand Avati 2011-04-13 04:39:10 UTC
PATCH: http://patches.gluster.com/patch/6837 in master (mgmt/glusterd: log stats commands to cmd log)

Comment 2 Raghavendra Bhat 2011-04-13 08:30:57 UTC
Now top/profile commands are being logged into the cmd_log_history.


[2011-04-13 16:42:41.922588] Volume create : on volname: mirror SUCCESS
[2011-04-13 16:42:45.447403] volume start : on volname: mirror SUCCESS
[2011-04-13 16:43:27.649132] volume start : on volname: mirror SUCCESS
[2011-04-13 16:59:42.564078] Volume stats : volume  : mirror, op: 3
[2011-04-13 16:59:42.564231] Volume stats :  on volume mirror, op: 3  SUCCEDED 
[2011-04-13 16:59:45.420825] Volume stats : volume  : mirror, op: 1
[2011-04-13 16:59:45.420883] Volume stats :  on volume mirror, op: 1  SUCCEDED 
[2011-04-13 16:59:50.606684] volume quota :  enable command on mirror
[2011-04-13 16:59:50.606801] volume quota :  enable command on mirror SUCCEEDED
[2011-04-13 16:59:53.916946] Volume stats : volume  : mirror, op: 3
[2011-04-13 16:59:53.917016] Volume stats :  on volume mirror, op: 3  SUCCEDED 
(END)


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