From 0e63aebb722154119f2072800dc3a1aef9cfcfd8 Mon Sep 17 00:00:00 2001 From: RehanRaza Date: Wed, 9 Sep 2020 13:07:37 +0200 Subject: Change to logging.file.name in policy-management-service application.log not found in container. logging.file is deprecated in latest version of spring-boot-parent. Use logging.file.name instead. Change-Id: Icdb0f72f7b4d0647346b331eb4a972165aac4788 Issue-ID: CCSDK-2741 Signed-off-by: RehanRaza --- a1-policy-management/Dockerfile | 1 - a1-policy-management/config/application.yaml | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'a1-policy-management') diff --git a/a1-policy-management/Dockerfile b/a1-policy-management/Dockerfile index 86b08663..52ba3fd7 100644 --- a/a1-policy-management/Dockerfile +++ b/a1-policy-management/Dockerfile @@ -50,5 +50,4 @@ RUN chmod -R 777 /opt/app/policy-agent/data/ USER a1pms ADD target/${JAR} /opt/app/policy-agent/a1-policy-management-service.jar -CMD chown -R a1pms /var CMD ["java", "-jar", "/opt/app/policy-agent/a1-policy-management-service.jar"] diff --git a/a1-policy-management/config/application.yaml b/a1-policy-management/config/application.yaml index 8004a437..b5cfd514 100644 --- a/a1-policy-management/config/application.yaml +++ b/a1-policy-management/config/application.yaml @@ -39,7 +39,8 @@ logging: org.springframework.data: ERROR org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR org.onap.ccsdk.oran.a1policymanagementservice: INFO - file: /var/log/policy-agent/application.log + file: + name: /var/log/policy-agent/application.log server: port : 8433 http-port: 8081 -- cgit 1.2.3-korg