summaryrefslogtreecommitdiffstats
path: root/api/src/glfs-handleops.c
diff options
context:
space:
mode:
authorVijay Bellur <vbellur@redhat.com>2015-01-05 16:02:40 +0530
committerKrishnan Parthasarathi <kparthas@redhat.com>2015-01-05 20:08:58 -0800
commitb8e3b91b8180dcc5e9f8bb62734832ace69ad143 (patch)
tree516d9518faaa9f254a551cbdb7910e7738a3d556 /api/src/glfs-handleops.c
parentf30af2735cab7475d86665856b433ca409e79ee7 (diff)
cli: logging improvements
1. cli used to log messages at all log levels. This is related to a peculiar behavior of gcc which treats any enum variable whose type has non-negative only defined values to be an unsigned integer. This would cause cli's loglevel (defaulted from state->loglevel) to be set as (uint)-1 previously and hence all log messages across levels would appear in the cli log file. Now cli's loglevel defaults to log level INFO. 2. Changed logging level of messages of type "Returning %d".. to DEBUG. Change-Id: I05094e523fc277d9ad32cc9d76aee873c0fd3859 BUG: 1168809 Signed-off-by: Vijay Bellur <vbellur@redhat.com> Reviewed-on: http://review.gluster.org/9383 Reviewed-by: Atin Mukherjee <amukherj@redhat.com> Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com> Tested-by: Krishnan Parthasarathi <kparthas@redhat.com>
Diffstat (limited to 'api/src/glfs-handleops.c')
0 files changed, 0 insertions, 0 deletions