summaryrefslogtreecommitdiffstats
path: root/prh-app-server
diff options
context:
space:
mode:
authorPiotr Wielebski <piotr.wielebski@nokia.com>2019-06-10 12:21:57 +0000
committerGerrit Code Review <gerrit@onap.org>2019-06-10 12:21:57 +0000
commit459ec6bfe41c3c0368373c203e4d3b1fc70179a2 (patch)
tree750f7fd4b15c566cb7c8cbb34d1f9363c8f1e89f /prh-app-server
parentb1d2017031a5ed827d1420442212e6aaa59bf662 (diff)
parent526dfb0845518ff3988fd0c71ffd086d45abd920 (diff)
Merge "exposing actuator/loggers endpoint for ad-hoc logging level management"
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