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