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 --- .../policy/charts/pap/resources/config/logback.xml | 103 +++++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 kubernetes/policy/charts/pap/resources/config/logback.xml (limited to 'kubernetes/policy/charts/pap/resources/config/logback.xml') diff --git a/kubernetes/policy/charts/pap/resources/config/logback.xml b/kubernetes/policy/charts/pap/resources/config/logback.xml new file mode 100644 index 0000000000..233e6a7dbe --- /dev/null +++ b/kubernetes/policy/charts/pap/resources/config/logback.xml @@ -0,0 +1,103 @@ + + + + + + /var/log/onap/policy/pap/error.log + + /var/log/onap/policy/pap/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/pap/debug.log + + /var/log/onap/policy/pap/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/pap/network.log + + /var/log/onap/policy/pap/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 + + + + + + + + + + + + + + + + + + + + + + + + -- cgit 1.2.3-korg