From f68887999e89d894c3125e3b26517221ad1543fc Mon Sep 17 00:00:00 2001 From: "Kaleb S. KEITHLEY" Date: Tue, 1 Aug 2017 08:04:48 -0400 Subject: logging: localtime logging, cmdline, volume set option Despite the fact that appliances generally use UTC, some users really want log entries in localtime. fixes gluster/glusterfs#272 feature page: https://review.gluster.org/17807 Change-Id: I5fbf2c3eedd9eb128fb3f851dd67b2f4081c8bba Signed-off-by: Kaleb S. KEITHLEY Reviewed-on: https://review.gluster.org/16911 CentOS-regression: Gluster Build System Smoke: Gluster Build System Reviewed-by: Samikshan Bairagya Reviewed-by: Shyamsundar Ranganathan --- doc/glusterd.8 | 3 +++ doc/glusterfs.8 | 3 +++ doc/glusterfsd.8 | 3 +++ 3 files changed, 9 insertions(+) (limited to 'doc') diff --git a/doc/glusterd.8 b/doc/glusterd.8 index 04a43481eec..3ef7c2b72d1 100644 --- a/doc/glusterd.8 +++ b/doc/glusterd.8 @@ -30,6 +30,9 @@ File to use for logging. \fB\-L , \fB\-\-log\-level=\fR Logging severity. Valid options are TRACE, DEBUG, INFO, WARNING, ERROR and CRITICAL (the default is INFO). .TP +\fB\-L, \fB\-\-localtime\-logging=on|off\fR +Enable or disable localtime log timestamps. Valid options are on and off (the default is off). +.TP \fB\-\-debug\fR Run the program in debug mode. This option sets \fB\-\-no\-daemon\fR, \fB\-\-log\-level\fR to DEBUG and \fB\-\-log\-file\fR to console. diff --git a/doc/glusterfs.8 b/doc/glusterfs.8 index fc28ef68be6..701c25ecfac 100644 --- a/doc/glusterfs.8 +++ b/doc/glusterfs.8 @@ -53,6 +53,9 @@ Maximum number of connect attempts to server. This option should be provided wit \fB\-\-acl\fR Mount the filesystem with POSIX ACL support. .TP +\fB\-L, \fB\-\-localtime\-logging=on|off\fR +Enable or disable localtime log timestamps. Valid options are on and off (the default is off). +.TP \fB\-\-debug\fR Run in debug mode. This option sets \fB\-\-no\-daemon\fR, \fB\-\-log\-level\fR to DEBUG, and \fB\-\-log\-file\fR to console. diff --git a/doc/glusterfsd.8 b/doc/glusterfsd.8 index 956cb24bca3..c5a95d1611f 100644 --- a/doc/glusterfsd.8 +++ b/doc/glusterfsd.8 @@ -51,6 +51,9 @@ Server to get the volume from. This option overrides \fB\-\-volfile option .PP .TP +\fB\-L, \fB\-\-localtime\-logging=on|off\fR +Enable or disable localtime log timestamps. Valid options are on and off (the default is off). +.TP \fB\-\-debug\fR Run in debug mode. This option sets \fB\-\-no\-daemon\fR, \fB\-\-log\-level\fR to DEBUG and \fB\-\-log\-file\fR to console -- cgit