log4j.properties 1.35 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
#-------------------------------------------------------------------------------
# Copyright 2016 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
Matija Obreza's avatar
Matija Obreza committed
19
log4j.appender.stdout.target=System.out
Matija Obreza's avatar
Matija Obreza committed
20 21 22 23 24 25 26 27
log4j.appender.stdout.encoding=UTF-8
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %t %5p %c{1}:%L - %m%n


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

28
log4j.category.org.genesys.filerepository=info
Matija Obreza's avatar
Matija Obreza committed
29 30 31

# Internal Hibernate logging is at ERROR
log4j.category.org.hibernate.engine.jdbc=fatal
32
log4j.category.org.genesys.blocks.security.SecurityContextUtil=error