log4j.properties 1.46 KB
Newer Older
Matija Obreza's avatar
Matija Obreza committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#-------------------------------------------------------------------------------
# Copyright 2017 Global Crop Diversity Trust
# 
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# 
#   http://www.apache.org/licenses/LICENSE-2.0
# 
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#-------------------------------------------------------------------------------

### direct log messages to stdout ###
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.target=System.out
log4j.appender.stdout.encoding=UTF-8
21
log4j.appender.stdout.layout=org.apache.log4j.EnhancedPatternLayout
Matija Obreza's avatar
Matija Obreza committed
22
log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %t %5p %c:%L - %m%n
Matija Obreza's avatar
Matija Obreza committed
23
24
25
26
27


### set log levels - for more verbose logging change 'info' to 'debug' ###
log4j.rootLogger=error, stdout

Matija Obreza's avatar
Matija Obreza committed
28
29
#log4j.category.org.genesys.blocks=debug
#log4j.category.org.genesys.blocks.auditlog=trace
30
log4j.category.org.genesys.blocks.auditlog.service.AuditTrailServiceTest=info
Matija Obreza's avatar
Matija Obreza committed
31
32
33
34

## Shut up hsql
log4j.category.org.hibernate.tool.hbm2ddl.SchemaExport=fatal
log4j.category.org.hibernate.engine.jdbc.spi.SqlExceptionHelper=fatal