summaryrefslogtreecommitdiffstats
path: root/portal-BE/src/main/resources/application.properties
diff options
context:
space:
mode:
authorDominik Mizyn <d.mizyn@samsung.com>2019-10-03 12:21:10 +0200
committerDominik Mizyn <d.mizyn@samsung.com>2019-10-03 12:22:12 +0200
commit1a7472103bde3d850f1f410a7d2ae5b249aef92e (patch)
tree6a56a85ff3b5f04011dbcfb149e9230fbfe92c3b /portal-BE/src/main/resources/application.properties
parente90cfa3b65b9879d22fc4522f45a22f1014e224e (diff)
Tests coverage up and some minor bug fixes
Tests coverage up and some minor bug fixes Issue-ID: PORTAL-710 Change-Id: I796bc731dec6fedae92cac2a659b27f2c0f6d406 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
Diffstat (limited to 'portal-BE/src/main/resources/application.properties')
-rw-r--r--portal-BE/src/main/resources/application.properties17
1 files changed, 14 insertions, 3 deletions
diff --git a/portal-BE/src/main/resources/application.properties b/portal-BE/src/main/resources/application.properties
index 30c0beeb..948ef969 100644
--- a/portal-BE/src/main/resources/application.properties
+++ b/portal-BE/src/main/resources/application.properties
@@ -7,8 +7,6 @@ spring.session.jdbc.initialize-schema=always
spring.datasource.continueOnError=true
spring.datasource.username=portal
spring.datasource.password=Test123456
-log4j.logger.org.hibernate=info
-
#H2 config
spring.h2.console.settings.web-allow-others=true
spring.h2.console.enabled=true
@@ -18,4 +16,17 @@ spring.jpa.hibernate.ddl-auto=update
spring.jpa.database=mysql
spring.jpa.show-sql=true
-spring.jooq.sql-dialect=MARIADB \ No newline at end of file
+spring.jooq.sql-dialect=MARIADB
+
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.Target=System.out
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=%d{HH:mm:ss,SSS} %-5p [%c] - %m%n
+
+log4j.rootLogger=info, stdout
+# basic log level for all messages
+log4j.logger.org.hibernate=info
+
+# SQL statements and parameters
+log4j.logger.org.hibernate.SQL=debug
+log4j.logger.org.hibernate.type.descriptor.sql=trace \ No newline at end of file