summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
authorVikas Gorur <vikas@gluster.com>2009-06-16 05:25:17 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-06-18 15:54:13 -0700
commit93c8ce0e3fc295087775185c0f8594f06244098d (patch)
tree75f36ba79f6b249d805ab5a98f1798734225e090 /libglusterfs
parentcc931ebf51e7a810e08155ba0b916b10f25d7f16 (diff)
Add command line option to specify central log server.
Added two command line options: --log-server SERVER --log-server-port PORT Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
Diffstat (limited to 'libglusterfs')
-rw-r--r--libglusterfs/src/glusterfs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h
index bf269df4b32..bb93f5faa7e 100644
--- a/libglusterfs/src/glusterfs.h
+++ b/libglusterfs/src/glusterfs.h
@@ -217,12 +217,14 @@ struct _cmd_args {
/* basic options */
char *volfile_server;
char *volume_file;
+ char *log_server;
gf_loglevel_t log_level;
char *log_file;
int32_t max_connect_attempts;
/* advanced options */
uint32_t volfile_server_port;
char *volfile_server_transport;
+ uint32_t log_server_port;
char *pid_file;
int no_daemon_mode;
char *run_id;