From 9534b5284ccceb77355bd5472ba21785551391d7 Mon Sep 17 00:00:00 2001 From: Bruno Sakoto Date: Fri, 24 Jul 2020 12:40:42 -0400 Subject: [POLICY] Add logback configuration files Have logging configuration files available in charts and log to stdout by default Issue-ID: POLICY-2682 Signed-off-by: Bruno Sakoto Change-Id: Ic247723f31bd99c3c2801343cbb4ab42e6319e01 --- .../resources/config/logback.xml | 113 +++++++++++++++++++++ 1 file changed, 113 insertions(+) create mode 100644 kubernetes/policy/charts/policy-distribution/resources/config/logback.xml (limited to 'kubernetes/policy/charts/policy-distribution/resources/config') diff --git a/kubernetes/policy/charts/policy-distribution/resources/config/logback.xml b/kubernetes/policy/charts/policy-distribution/resources/config/logback.xml new file mode 100644 index 0000000000..21dd0fca64 --- /dev/null +++ b/kubernetes/policy/charts/policy-distribution/resources/config/logback.xml @@ -0,0 +1,113 @@ + + + + + + /var/log/onap/policy/distribution/error.log + + /var/log/onap/policy/distribution/error.%d{yyyy-MM-dd}.%i.log.zip + + 50MB + 30 + 10GB + + + WARN + + + [%d{yyyy-MM-dd'T'HH:mm:ss.SSS+00:00, UTC}|%level|%logger{0}|%thread] %msg%n + + + + + + + + + /var/log/onap/policy/distribution/debug.log + + /var/log/onap/policy/distribution/debug.%d{yyyy-MM-dd}.%i.log.zip + + 50MB + 30 + 10GB + + + [%d{yyyy-MM-dd'T'HH:mm:ss.SSS+00:00, UTC}|%level|%logger{0}|%thread] %msg%n + + + + + + + + + /var/log/onap/policy/distribution/network.log + + /var/log/onap/policy/distribution/network.%d{yyyy-MM-dd}.%i.log.zip + + 50MB + 30 + 10GB + + + [%d{yyyy-MM-dd'T'HH:mm:ss.SSS+00:00, UTC}|%t]%m%n + + + + + + + + + + %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file -- cgit 1.2.3-korg