summaryrefslogtreecommitdiffstats
path: root/prh-app-server
diff options
context:
space:
mode:
authorgrabinsk <maciej.grabinski@nokia.com>2019-06-04 15:37:52 +0200
committergrabinsk <maciej.grabinski@nokia.com>2019-06-10 11:01:47 +0200
commit526dfb0845518ff3988fd0c71ffd086d45abd920 (patch)
treec5bbf80ce4916a629ba163d3630da14217c7aa69 /prh-app-server
parent574a2a8e300195f1693b025cc71281934ea677f3 (diff)
exposing actuator/loggers endpoint for ad-hoc logging level management
Change-Id: Ia19388a1a6e9a46273a59d0d9930f054d271f6f9 Issue-ID: DCAEGEN2-1609 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
Diffstat (limited to 'prh-app-server')
-rw-r--r--prh-app-server/pom.xml5
-rw-r--r--prh-app-server/src/main/resources/application.yaml3
2 files changed, 8 insertions, 0 deletions
diff --git a/prh-app-server/pom.xml b/prh-app-server/pom.xml
index b26ed86f..50ee8044 100644
--- a/prh-app-server/pom.xml
+++ b/prh-app-server/pom.xml
@@ -238,6 +238,11 @@
</dependency>
<dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-actuator</artifactId>
+ </dependency>
+
+ <dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
diff --git a/prh-app-server/src/main/resources/application.yaml b/prh-app-server/src/main/resources/application.yaml
index 8ad90b3a..8139036c 100644
--- a/prh-app-server/src/main/resources/application.yaml
+++ b/prh-app-server/src/main/resources/application.yaml
@@ -10,6 +10,9 @@ server:
key-password: nokiapnf
keyAlias: tomcat-localhost
+management.endpoints.web.exposure.include: "loggers"
+
+
---
spring:
profiles: dev