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>
diff --git a/a1-policy-management/config/application.yaml b/a1-policy-management/config/application.yaml
index f0f5337..80bb156 100644
--- a/a1-policy-management/config/application.yaml
+++ b/a1-policy-management/config/application.yaml
@@ -41,8 +41,11 @@
     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: