aboutsummaryrefslogtreecommitdiffstats
path: root/a1-policy-management/config
diff options
context:
space:
mode:
authorhalil.cakal <halil.cakal@est.tech>2022-09-23 15:22:41 +0100
committerhalil.cakal <halil.cakal@est.tech>2022-09-27 08:59:51 +0100
commit9128de9c240ddd2596a9ec8dfd200ff67cfbbd5e (patch)
treea3daba93cb5e48fbbf8f255b4a8e241238c77834 /a1-policy-management/config
parent4e7d4dea70232b2e03a1f8e72d700698acf2bb47 (diff)
Format logging
Enable REST log belongs to A1 Policy API, add log formatter. Issue-ID: CCSDK-3766 Change-Id: If89b5467f93ad8f98310817c9beeaf7a1302afdb Signed-off-by: halil.cakal <halil.cakal@est.tech>
Diffstat (limited to 'a1-policy-management/config')
-rw-r--r--a1-policy-management/config/application.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/a1-policy-management/config/application.yaml b/a1-policy-management/config/application.yaml
index f0f53375..80bb1568 100644
--- a/a1-policy-management/config/application.yaml
+++ b/a1-policy-management/config/application.yaml
@@ -41,8 +41,11 @@ logging:
org.springframework: ERROR
org.springframework.data: ERROR
org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR
+ org.springframework.web.servlet.DispatcherServlet: INFO
org.onap.ccsdk.oran.a1policymanagementservice: INFO
- # org.onap.ccsdk.oran.a1policymanagementservice.tasks: TRACE
+ pattern:
+ console: "%d{yyyy-MM-dd HH:mm:ss.SSS} [%-5level] [%thread] %logger{20} - %msg%n"
+ file: "%d{yyyy-MM-dd HH:mm:ss.SSS} [%-5level] [%thread] %logger{20} - %msg%n"
file:
name: /var/log/policy-agent/application.log
server: