diff options
Diffstat (limited to 'ransim/ransimctrlr/RANSIM-CTRLR/src/main/resources')
-rw-r--r-- | ransim/ransimctrlr/RANSIM-CTRLR/src/main/resources/application.properties | 2 | ||||
-rw-r--r-- | ransim/ransimctrlr/RANSIM-CTRLR/src/main/resources/log4j.properties | 14 |
2 files changed, 16 insertions, 0 deletions
diff --git a/ransim/ransimctrlr/RANSIM-CTRLR/src/main/resources/application.properties b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/resources/application.properties index 02a81ec..671ea0e 100644 --- a/ransim/ransimctrlr/RANSIM-CTRLR/src/main/resources/application.properties +++ b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/resources/application.properties @@ -6,3 +6,5 @@ spring.datasource.url=jdbc:mariadb://mariadb:3306/ransim_db hibernate.dialect=org.hibernate.dialect.MariaDBDialect spring.config.location=/tmp/ransim-install/config/ spring.config.name=ransim +logging.level.ROOT=INFO +logging.level.org.springframework=INFO diff --git a/ransim/ransimctrlr/RANSIM-CTRLR/src/main/resources/log4j.properties b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/resources/log4j.properties index 6042e35..80d1283 100644 --- a/ransim/ransimctrlr/RANSIM-CTRLR/src/main/resources/log4j.properties +++ b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/resources/log4j.properties @@ -48,3 +48,17 @@ log4j.appender.AUDIT_LOG.DatePattern='.'yyyy-MM-dd log4j.appender.AUDIT_LOG.threshold=INFO log4j.appender.AUDIT_LOG.layout=org.apache.log4j.EnhancedPatternLayout log4j.appender.AUDIT_LOG.layout.ConversionPattern=%d{yyyy-MM-dd'T'HH:mm:ss}{GMT+0}+00:00|%X{requestId}|%X{serviceInstanceId}|%t|%X{serverName}|%X{serviceName}|%X{instanceUuid}|%p|%X{severity}|%X{serverIpAddress}|%X{server}|%X{clientIpAddress}|%X{className}|%X{timer}|%m%n + + +### +# Hibernate +### +# basic log level for all messages +#log4j.logger.org.hibernate=error +# SQL statements and parameters +#log4j.logger.org.hibernate.SQL=debug +#log4j.logger.org.hibernate.type.descriptor.sql=trace +# Statistics +#log4j.logger.org.hibernate.stat=debug +# 2nd Level Cache +#log4j.logger.org.hibernate.cache=debug |