summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiotr Bocheński <piotr.bochenski@nokia.com>2019-01-31 12:17:01 +0100
committerPiotr Bocheński <piotr.bochenski@nokia.com>2019-01-31 12:17:01 +0100
commitabb323766704953f3706dd921692290a26678de3 (patch)
tree51f84e931cdf1423693927e4efb6629ff918d1f5
parente0e5f2a54c18d790ec8a9800233599cb7fe93b3d (diff)
Additional fixes related to Docker/logging
Change-Id: I7fa7248b0347d63c00b6d2a9420e7ce184306c31 Issue-ID: DCAEGEN2-1030 Signed-off-by: Piotr Bocheński <piotr.bochenski@nokia.com>
-rw-r--r--prh-app-server/pom.xml2
-rw-r--r--prh-app-server/src/main/resources/logback-spring.xml1
2 files changed, 2 insertions, 1 deletions
diff --git a/prh-app-server/pom.xml b/prh-app-server/pom.xml
index f488ecbd..89c4a50f 100644
--- a/prh-app-server/pom.xml
+++ b/prh-app-server/pom.xml
@@ -96,7 +96,7 @@
<expose>8100</expose>
<expose>8433</expose>
</exposes>
- <entryPoint>java -cp ${docker.artifact.dir}/${dependency.dir.name}/*:${docker.artifact.dir}/${project.build.finalName}.jar ${prh.main.class}</entryPoint>
+ <entryPoint>["java", "-cp", "${docker.artifact.dir}/${dependency.dir.name}/*:${docker.artifact.dir}/${project.build.finalName}.jar", "${prh.main.class}"]</entryPoint>
<resources>
<resource>
<directory>${dependency.dir.location}</directory>
diff --git a/prh-app-server/src/main/resources/logback-spring.xml b/prh-app-server/src/main/resources/logback-spring.xml
index d6a37ade..8f9bfd1c 100644
--- a/prh-app-server/src/main/resources/logback-spring.xml
+++ b/prh-app-server/src/main/resources/logback-spring.xml
@@ -40,6 +40,7 @@
</appender>
<logger name="org.onap.dcaegen2.services.prh" level="${logLevelPrh}"/>
+ <logger name="org.onap.dcaegen2.services.sdk" level="${logLevelPrh}"/>
<root level="${logLevel}">
<appender-ref ref="CONSOLE"/>