aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-05-28 14:43:07 +0200
committerChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-05-28 14:46:38 +0200
commitcef481f2ad56764f71e8b0f1d4340b8af0686a96 (patch)
tree9f3e7505e3e50b45f39f8248a34fcfd8438adc87 /src
parent614b875a4f7b18a86348924d89325c0fe72b635b (diff)
downloadmoa-zs-cef481f2ad56764f71e8b0f1d4340b8af0686a96.tar.gz
moa-zs-cef481f2ad56764f71e8b0f1d4340b8af0686a96.tar.bz2
moa-zs-cef481f2ad56764f71e8b0f1d4340b8af0686a96.zip
Add Moa Sig Dependency & Configure Logging & Init Readme
- Reduce logger output of all contexts to ERROR and WARN Statements; Moazs can log to INFO. Reason: Including moa-sig causes lots of DEBUG / TRACE logging . - Add Repository that points to file://${basedir}/repository. - Add guide how to compile project (I dont check moa-sig depenendcies into repository but explain how to retrieve dependencies manually in readme.md.)
Diffstat (limited to 'src')
-rw-r--r--src/main/resources/application.yaml14
-rw-r--r--src/main/resources/logback_config.xml12
2 files changed, 21 insertions, 5 deletions
diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml
index d43e7dc..1a432c2 100644
--- a/src/main/resources/application.yaml
+++ b/src/main/resources/application.yaml
@@ -52,17 +52,21 @@ delivery-request-configuration-profiles:
key-store-profiles:
msg-key-store:
-
-
-
## If set to false, moa zs ignores an incomplete default DeliveryRequest-configuration
## profile and continues startup. See 'delivery-request-configuration-profiles'.
## Default value: true
# verify-completeness-of-default-delivery-request-configuration: false
-
+## todo: fix this
# ssl.keystore.file=../keys/www.egiz.gv.at.p12
# egovutil.mis.ssl.keystore.password=OSgmSn!
# egovutil.mis.ssl.keystore.type=PKCS12
# egovutil.mis.ssl.trustall=true
-# egovutil.mis.ssl.laxhostnameverification=false \ No newline at end of file
+# egovutil.mis.ssl.laxhostnameverification=false
+
+### logging
+logging:
+ level:
+ root: WARN
+ org.springframework: WARN
+ at.gv.egiz.moazs: INFO
diff --git a/src/main/resources/logback_config.xml b/src/main/resources/logback_config.xml
new file mode 100644
index 0000000..03c3834
--- /dev/null
+++ b/src/main/resources/logback_config.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<configuration>
+ <appender name="stdout" class="ch.qos.logback.core.ConsoleAppender">
+ <encoder>
+ <pattern>%5p | %d{dd HH:mm:ss,SSS} | %20.20c | %10t | %m%n</pattern>
+ </encoder>
+ </appender>
+ <root level="WARN">
+ <appender-ref ref="stdout"/>
+ </root>
+</configuration>