log4j.properties 2.54 KB
Newer Older
1
#-------------------------------------------------------------------------------
Matija Obreza's avatar
Matija Obreza committed
2
# Copyright 2014 Global Crop Diversity Trust
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

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
24 25 26


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

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

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