log4j.properties 2.42 KB
Newer Older
Matija Obreza's avatar
Matija Obreza committed
1
#-------------------------------------------------------------------------------
Matija Obreza's avatar
Matija Obreza committed
2
# Copyright 2014 Global Crop Diversity Trust
Matija Obreza's avatar
Matija Obreza committed
3 4 5 6 7 8 9 10 11 12 13 14 15
# 
# 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.
#-------------------------------------------------------------------------------
Matija Obreza's avatar
Matija Obreza committed
16

Matija Obreza's avatar
Matija Obreza committed
17 18
### direct log messages to stdout ###
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
Matija Obreza's avatar
Matija Obreza committed
19 20
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{1.}:%L - %m%n
23
#log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %t %5p %.40c{6}:%L - %m%n
Matija Obreza's avatar
Matija Obreza committed
24 25 26


### set log levels - for more verbose logging change 'info' to 'debug' ###
Matija Obreza's avatar
Matija Obreza committed
27
log4j.rootLogger=error, stdout
Matija Obreza's avatar
Matija Obreza committed
28

29 30
log4j.category.org.genesys2=warn
log4j.category.org.genesys=warn
31
log4j.category.liquibase=debug
Matija Obreza's avatar
Matija Obreza committed
32
#log4j.category.springfox=trace
33
#log4j.category.org.genesys2.server.servlet.controller=debug
Matija Obreza's avatar
Matija Obreza committed
34
#log4j.category.org.hibernate.cfg.Configuration=debug
Matija Obreza's avatar
Matija Obreza committed
35
#log4j.category.org.hibernate.search=debug
36
#log4j.category.org.apache.tomcat.jdbc.pool=debug
37
#log4j.category.org.springframework.web.servlet.mvc=trace
38
#log4j.category.org.springframework.jdbc.core.JdbcTemplate=debug
39
#log4j.category.org.springframework.security.oauth2=trace
40 41 42
#log4j.category.org.springframework.security.access=trace
#log4j.category.org.springframework.security.acl=trace
#log4j.category.org.springframework.expression=trace
Matija Obreza's avatar
Matija Obreza committed
43
#log4j.category.com.hazelcast=info
44
#log4j.category.com.hazelcast.web=debug
Matija Obreza's avatar
Matija Obreza committed
45
#log4j.category.com.hazelcast.aws=trace
46
#log4j.category.org.eclipse.jetty.servlets=trace
Matija Obreza's avatar
Matija Obreza committed
47 48
#LocaleURLFilter
#log4j.category.org.genesys2.server.servlet.filter=debug
49 50
#log4j.category.org.genesys2.server.servlet.filter.NewGUIFilter=debug
#log4j.category.org.genesys2.spring.config.NewGUIViewResolver=trace
51
#log4j.category.org.genesys.filerepository.service.ftp=trace
Matija Obreza's avatar
Matija Obreza committed
52 53 54

# Internal Hibernate logging is at ERROR
log4j.category.org.hibernate.engine.jdbc=fatal