50dc83
From 79c19f0c6d02228aa8cf4b9299afeb7e0b2ad0da Mon Sep 17 00:00:00 2001
50dc83
From: Atin Mukherjee <amukherj@redhat.com>
50dc83
Date: Mon, 16 Apr 2018 17:44:19 +0530
50dc83
Subject: [PATCH 24/52] glusterd: Make localtime-logging option invisible in
50dc83
 downstream
50dc83
50dc83
Label: DOWNSTREAM ONLY
50dc83
50dc83
Change-Id: Ie631edebb7e19152392bfd3c369a96e88796bd75
50dc83
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
50dc83
Reviewed-on: https://code.engineering.redhat.com/gerrit/135754
50dc83
Tested-by: RHGS Build Bot <nigelb@redhat.com>
50dc83
---
50dc83
 xlators/mgmt/glusterd/src/glusterd-op-sm.c      | 2 +-
50dc83
 xlators/mgmt/glusterd/src/glusterd-volume-set.c | 3 ++-
50dc83
 2 files changed, 3 insertions(+), 2 deletions(-)
50dc83
50dc83
diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
50dc83
index dd3f9eb..cbbb5d9 100644
50dc83
--- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c
50dc83
+++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
50dc83
@@ -86,7 +86,7 @@ glusterd_all_vol_opts valid_all_vol_opts[] = {
50dc83
      * TBD: Discuss the default value for this. Maybe this should be a
50dc83
      * dynamic value depending on the memory specifications per node */
50dc83
     {GLUSTERD_BRICKMUX_LIMIT_KEY, GLUSTERD_BRICKMUX_LIMIT_DFLT_VALUE},
50dc83
-    {GLUSTERD_LOCALTIME_LOGGING_KEY, "disable"},
50dc83
+    /*{GLUSTERD_LOCALTIME_LOGGING_KEY, "disable"},*/
50dc83
     {GLUSTERD_DAEMON_LOG_LEVEL_KEY, "INFO"},
50dc83
     {NULL},
50dc83
 };
50dc83
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
50dc83
index 9a6fe9f..fed2864 100644
50dc83
--- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c
50dc83
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
50dc83
@@ -2850,10 +2850,11 @@ struct volopt_map_entry glusterd_volopt_map[] = {
50dc83
                     "to have enabled when clients and/or bricks support "
50dc83
                     "SELinux."},
50dc83
     {.key = GLUSTERD_LOCALTIME_LOGGING_KEY,
50dc83
+    /*{.key = GLUSTERD_LOCALTIME_LOGGING_KEY,
50dc83
      .voltype = "mgmt/glusterd",
50dc83
      .type = GLOBAL_DOC,
50dc83
      .op_version = GD_OP_VERSION_3_12_0,
50dc83
-     .validate_fn = validate_boolean},
50dc83
+     .validate_fn = validate_boolean},*/
50dc83
     {.key = GLUSTERD_DAEMON_LOG_LEVEL_KEY,
50dc83
      .voltype = "mgmt/glusterd",
50dc83
      .type = GLOBAL_NO_DOC,
50dc83
-- 
50dc83
1.8.3.1
50dc83