aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorMatthieuGeerebaert <matthieu.geerebaert@orange.com>2019-03-06 11:44:52 +0100
committerMatthieuGeerebaert <matthieu.geerebaert@orange.com>2019-03-06 12:19:31 +0100
commitea0c457917a9c6a2f53c0896a69ca132aa6ca9e8 (patch)
tree752cb310ea7a346ab75b0cbedcd09b41a26c0ac3 /src/main
parentc28c83fbe81f11ba5b636da29f969b72d58df9b5 (diff)
Reduce log output
At startup and testing phase Disable spring logging Change-Id: Ia357e8528a57204be34be94e45a745380de49653 Issue-ID: EXTAPI-207 Signed-off-by: MatthieuGeerebaert <matthieu.geerebaert@orange.com>
Diffstat (limited to 'src/main')
-rw-r--r--src/main/resources/application-test.properties16
-rw-r--r--src/main/resources/application.properties10
2 files changed, 16 insertions, 10 deletions
diff --git a/src/main/resources/application-test.properties b/src/main/resources/application-test.properties
index ca04a05..028040d 100644
--- a/src/main/resources/application-test.properties
+++ b/src/main/resources/application-test.properties
@@ -17,11 +17,13 @@
nbi.version = v3
# SERVER
-server.servlet.context-path = /nbi/api/${nbi.version}
+server.servlet.context-path = /nbi/api/${nbi.version}
server.port = 8080
# LOGGING
-logging.level. = ERROR
+logging.level.org.springframework = OFF
+logging.level.root = OFF
+spring.main.banner-mode = off
# ONAP
onap.lcpCloudRegionId = RegionOne
@@ -61,11 +63,11 @@ so.owning.entity.name = OE-generic
so.project.name = Project-generic
# DMAAP
-dmaap.host = http://127.0.0.1:8091
-dmaap.topic = AAI-EVENT
-dmaap.consumergroup = NBICG1
-dmaap.consumerid = NBIC1
-dmaap.timeout = 2000
+dmaap.host = http://127.0.0.1:8091
+dmaap.topic = AAI-EVENT
+dmaap.consumergroup = NBICG1
+dmaap.consumerid = NBIC1
+dmaap.timeout = 2000
# MSB
msb.enabled = false
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index 70d640c..741682e 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -27,7 +27,11 @@ server.servlet.context-path = /nbi/api/${nbi.version}
server.port = 8080
# LOGGING
-logging.level. = INFO
+logging.level. = WARN
+logging.level.org.springframework = OFF
+logging.level.org.onap = INFO
+logging.level.root = WARN
+spring.main.banner-mode = off
# ONAP
onap.lcpCloudRegionId = RegionOne
@@ -44,8 +48,8 @@ serviceOrder.schedule = 5000
serviceOrder.initial = 1
executionTask.schedule = 2000
executionTask.initial = 1
-dmaapCheck.schedule = 10000
-dmaapCheck.initial = 1
+dmaapCheck.schedule = 10000
+dmaapCheck.initial = 1
# SDC
sdc.host = http://10.0.3.1:8080