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