Project

General

Profile

1
## This log4j configuration file needs to stay here, and is used as the default logging setup
2
## during data_dir upgrades and in case the chosen logging config isn't available.
3
##
4
## As GeoTools uses java.util.logging logging instead of log4j, GeoServer makes
5
## the following mappings to adjust the log4j levels specified in this file to
6
## the GeoTools logging system:
7
##
8
## Log4J Level          java.util.logging Level
9
## --------------------------------------------
10
## ALL                   FINEST
11
## TRACE                 FINER
12
## DEBUG                 FINE (includes CONFIG)
13
## INFO                  INFO
14
## WARN/ERROR            WARNING
15
## FATAL                 SEVERE
16
## OFF                   OFF
17

    
18
log4j.rootLogger=WARN, geoserverlogfile, stdout
19

    
20
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
21
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
22
log4j.appender.stdout.layout.ConversionPattern=%d{dd MMM HH:mm:ss} %p [%c{2}] - %m%n
23

    
24

    
25
log4j.appender.geoserverlogfile=org.apache.log4j.RollingFileAppender
26
# Keep three backup files.
27
log4j.appender.geoserverlogfile.MaxBackupIndex=3
28
# Pattern to output: date priority [category] - message
29
log4j.appender.geoserverlogfile.layout=org.apache.log4j.PatternLayout
30
log4j.appender.geoserverlogfile.layout.ConversionPattern=%d %p [%c{2}] - %m%n
31

    
32
log4j.category.log4j=FATAL
33

    
34
log4j.category.org.geotools=WARN
35
log4j.category.org.geotools.factory=WARN
36
log4j.category.org.geoserver=WARN
37
log4j.category.org.vfny.geoserver=WARN
38
log4j.category.org.vfny.geoserver.config.web.tiles.definition.MultipleDefinitionsFactory=WARN
39
log4j.category.org.vfny.geoserver.global=WARN
40

    
41
log4j.category.org.springframework=WARN
42
log4j.category.org.apache.struts=WARN
43

    
44
log4j.category.org.geowebcache=ERROR
(4-4/5)