log4j.properties 2.16 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
22
23
log4j.appender.stdout.layout=org.apache.log4j.EnhancedPatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %t %5p %c{1.} - %m%n
#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.org.genesys2.server.servlet.controller=debug
Matija Obreza's avatar
Matija Obreza committed
32
#log4j.category.org.hibernate.cfg.Configuration=debug
Matija Obreza's avatar
Matija Obreza committed
33
#log4j.category.org.hibernate.search=debug
34
#log4j.category.org.apache.tomcat.jdbc.pool=debug
35
#log4j.category.org.springframework.jdbc.core.JdbcTemplate=debug
36
#log4j.category.org.springframework.security.oauth2=trace
37
38
39
#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
40
#log4j.category.com.hazelcast=info
41
#log4j.category.com.hazelcast.web=debug
Matija Obreza's avatar
Matija Obreza committed
42
#log4j.category.com.hazelcast.aws=trace
43
#log4j.category.org.eclipse.jetty.servlets=trace
Matija Obreza's avatar
Matija Obreza committed
44
45
#LocaleURLFilter
#log4j.category.org.genesys2.server.servlet.filter=debug
46
47
#log4j.category.org.genesys2.server.servlet.filter.NewGUIFilter=debug
#log4j.category.org.genesys2.spring.config.NewGUIViewResolver=trace