From c5290dc05be5ca1987d0a794769229e55e8e1126 Mon Sep 17 00:00:00 2001
From: Li Zi
Date: Mon, 6 Aug 2018 09:26:27 +0000
Subject: Fix the issue can't get log of msb in kibana
Issue-ID: MSB-267
Change-Id: Ie6bebdd7b8dde8cfd87c2ddcedc8f2831f9d98dd
Signed-off-by: LiZi
---
.../msb-discovery/resources/config/log/logback.xml | 27 -----
.../msb-discovery/resources/config/logback.xml | 118 +++++++++++++++++++++
2 files changed, 118 insertions(+), 27 deletions(-)
delete mode 100644 kubernetes/msb/charts/msb-discovery/resources/config/log/logback.xml
create mode 100644 kubernetes/msb/charts/msb-discovery/resources/config/logback.xml
(limited to 'kubernetes/msb/charts/msb-discovery/resources/config')
diff --git a/kubernetes/msb/charts/msb-discovery/resources/config/log/logback.xml b/kubernetes/msb/charts/msb-discovery/resources/config/log/logback.xml
deleted file mode 100644
index 33775962b7..0000000000
--- a/kubernetes/msb/charts/msb-discovery/resources/config/log/logback.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ${pattern}
-
-
\ No newline at end of file
diff --git a/kubernetes/msb/charts/msb-discovery/resources/config/logback.xml b/kubernetes/msb/charts/msb-discovery/resources/config/logback.xml
new file mode 100644
index 0000000000..89deb42379
--- /dev/null
+++ b/kubernetes/msb/charts/msb-discovery/resources/config/logback.xml
@@ -0,0 +1,118 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${logDirectory}/${auditLogName}.log
+
+ ${logDirectory}/${auditLogName}.log.%d
+
+
+ ${auditPattern}
+
+
+
+
+ 256
+
+
+
+
+ ${logDirectory}/${metricsLogName}.log
+
+ ${logDirectory}/${metricsLogName}.log.%d
+
+
+ ${metricPattern}
+
+
+
+
+ 256
+
+
+
+
+ ${logDirectory}/${errorLogName}.log
+
+ ${logDirectory}/${errorLogName}.log.%d
+
+
+ INFO
+
+
+ ${errorPattern}
+
+
+
+
+ 256
+
+
+
+
+ ${debugLogDirectory}/${debugLogName}.log
+
+ ${debugLogDirectory}/${debugLogName}.log.%d
+
+
+ ${debugPattern}
+
+
+
+
+ 256
+
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
--
cgit 1.2.3-korg