Bug 764467 (GLUSTER-2735)

Summary: log stats commands (top/profile) to cmd log
Product: [Community] GlusterFS Reporter: Pranith Kumar K <pkarampu>
Component: glusterdAssignee: Pranith Kumar K <pkarampu>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: mainlineCC: gluster-bugs, rabhat, vbhat
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:

Description Pranith Kumar K 2011-04-13 00:10:08 EDT
The stats commands are not logged to command history at the moment.
Comment 1 Anand Avati 2011-04-13 00:39:10 EDT
PATCH: http://patches.gluster.com/patch/6837 in master (mgmt/glusterd: log stats commands to cmd log)
Comment 2 Raghavendra Bhat 2011-04-13 04:30:57 EDT
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)