summaryrefslogtreecommitdiffstats
path: root/cli/src/cli.h
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2011-04-13 00:29:16 +0000
committerAnand Avati <avati@gluster.com>2011-04-14 04:07:49 -0700
commit9b0374043ebe59fa638b8af330ea1d403503c143 (patch)
tree0673424ecd7b0cd410773f0e23e300396f31f23d /cli/src/cli.h
parent4d6e05f0aac70fbdec6b9530ed7b5d6ce4de0f03 (diff)
cli: add log file for cli instead of '/dev/null'
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2737 (there is no log file for gluster cli) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2737
Diffstat (limited to 'cli/src/cli.h')
-rw-r--r--cli/src/cli.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/src/cli.h b/cli/src/cli.h
index 33a6fa18..f365da70 100644
--- a/cli/src/cli.h
+++ b/cli/src/cli.h
@@ -33,6 +33,7 @@
#define CLI_GLUSTERD_PORT 24007
#define CLI_DEFAULT_CONN_TIMEOUT 120
#define CLI_DEFAULT_CMD_TIMEOUT 120
+#define DEFAULT_CLI_LOG_FILE_DIRECTORY DATADIR "/log/glusterfs"
enum argp_option_keys {
ARGP_DEBUG_KEY = 133,