summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
authorJunaid <junaid@gluster.com>2011-06-29 20:41:17 +0000
committerAnand Avati <avati@gluster.com>2011-06-30 02:58:59 -0700
commit7cd21dec47426e32be9f4548f4ec716b0575867e (patch)
tree58f38aba494cf1d7078f64e0a384da99bd80f8dd /cli
parentb7aeaa619b82509fbe8d187bbc1618cb319d6877 (diff)
cli: 'Quota' use quota-list.log to store logs of maintainance mount.
Signed-off-by: Junaid <junaid@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2620 (CLI improvements in quota) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2620
Diffstat (limited to 'cli')
-rw-r--r--cli/src/cli-rpc-ops.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c
index 2c1a9f7833c..5b1f7f62993 100644
--- a/cli/src/cli-rpc-ops.c
+++ b/cli/src/cli-rpc-ops.c
@@ -1367,7 +1367,9 @@ gf_cli3_1_print_limit_list (char *volname, char *limit_list,
* of the directory on which the limit is set.
*/
ret = runcmd (GFS_PREFIX"/sbin/glusterfs", "-s",
- "localhost", "--volfile-id", volname, mountdir, NULL);
+ "localhost", "--volfile-id", volname, "-l",
+ DEFAULT_LOG_FILE_DIRECTORY"/quota-list.log",
+ mountdir, NULL);
if (ret) {
gf_log ("cli", GF_LOG_WARNING, "failed to mount glusterfs client");
ret = -1;