diff options
author | kurczews <krzysztof.kurczewski@nokia.com> | 2018-10-12 08:57:35 +0200 |
---|---|---|
committer | kurczews <krzysztof.kurczewski@nokia.com> | 2018-12-24 07:26:16 +0100 |
commit | 80166602c460bffa180e314afc46703465ed6fb4 (patch) | |
tree | 8cf57e7ae97ee9531356de4654a2d800ff3a3773 /deliveries/src/main/docker/docker-files/conf.d/logback_template.xml | |
parent | 0b65d4053eb41fd4747c5718ffd1cbd5d46fc455 (diff) |
Logging improvements
* move less important tomcat logs to file instead console
* update properties -> log sql queries only to file
Issue-ID: VID-376
Change-Id: I8fd61424e2d2f3843028a60351468fd9f34f6194
Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
Diffstat (limited to 'deliveries/src/main/docker/docker-files/conf.d/logback_template.xml')
-rwxr-xr-x | deliveries/src/main/docker/docker-files/conf.d/logback_template.xml | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/deliveries/src/main/docker/docker-files/conf.d/logback_template.xml b/deliveries/src/main/docker/docker-files/conf.d/logback_template.xml index bbc58cf2f..8d92ffebc 100755 --- a/deliveries/src/main/docker/docker-files/conf.d/logback_template.xml +++ b/deliveries/src/main/docker/docker-files/conf.d/logback_template.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<configuration scan="true" scanPeriod="3 seconds" debug="true"> +<configuration scan="true" scanPeriod="3 seconds"> <!-- specify the component name --> <property name="componentName" value="vid"></property> @@ -332,8 +332,15 @@ <logger name="com.att.eelf.debug" level="debug" additivity="false"> <appender-ref ref="asyncEELFDebug" /> </logger> - - + + <logger name="org.hibernate" level="WARN" additivity="false"> + <appender-ref ref="asyncEELF"/> + </logger> + + <logger name="org.hibernate.SQL" level="DEBUG" additivity="false"> + <appender-ref ref="asyncEELFDebug"/> + </logger> + <root level="${VID_LOG_LEVEL}"> <appender-ref ref="asyncEELF" /> </root> |