diff options
author | Ruslan Kashapov <ruslan.kashapov@pantheon.tech> | 2021-01-21 09:37:05 +0200 |
---|---|---|
committer | Ruslan Kashapov <ruslan.kashapov@pantheon.tech> | 2021-01-21 17:46:11 +0200 |
commit | 708fd6615c97756eade415a6295b1fb663e4d3ef (patch) | |
tree | 215cfd5d3886f64e4b95232e5102bd4425f9bea1 /cps-rest/src/main/resources | |
parent | cd9f368b1f3c5e25e17e21649e582d84a909ac79 (diff) |
Enable log level management via actuator, /cps/api path to use for REST controllers only only
Issue-ID: CPS-158
Change-Id: I1f9ff4429f331ca4204d1acaf73ac896a68994d0
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
Diffstat (limited to 'cps-rest/src/main/resources')
-rw-r--r-- | cps-rest/src/main/resources/application.yml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/cps-rest/src/main/resources/application.yml b/cps-rest/src/main/resources/application.yml index e8af0bcfb2..b50a92662b 100644 --- a/cps-rest/src/main/resources/application.yml +++ b/cps-rest/src/main/resources/application.yml @@ -1,7 +1,9 @@ server:
port: 8080
- servlet:
- context-path: /api/cps
+
+rest:
+ api:
+ base-path: /cps/api
spring:
main:
@@ -27,12 +29,16 @@ management: endpoints:
web:
base-path: /manage
+ exposure:
+ include: health,info,loggers
endpoint:
health:
show-details: always
# kubernetes probes: liveness and readiness
probes:
enabled: true
+ looging:
+ enabled: true
logging:
level:
|