svn-gvsig-desktop / tags / v2_0_0_Build_2062 / libraries / libInternationalization / src / log4j.properties @ 44641
History | View | Annotate | Download (1.2 KB)
1 |
log4j.rootLogger=debug, stdout |
---|---|
2 |
|
3 |
log4j.appender.stdout=org.apache.log4j.ConsoleAppender |
4 |
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout |
5 |
|
6 |
# Pattern to output the caller's file name and line number. |
7 |
log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n |
8 |
|
9 |
# BEGIN APPENDER: ROLLING FILE APPENDER (rolling) |
10 |
# first: type of appender (fully qualified class name) |
11 |
|
12 |
log4j.appender.rolling=org.apache.log4j.RollingFileAppender |
13 |
|
14 |
# second: Any configuration information needed for that appender. |
15 |
# Many appenders require a layout. |
16 |
log4j.appender.rolling.File=${user.dir}/gvSIG/gvSIG.log |
17 |
|
18 |
log4j.appender.rolling.MaxFileSize=512KB |
19 |
# Keep one backup file |
20 |
|
21 |
log4j.appender.rolling.MaxBackupIndex=1 |
22 |
|
23 |
log4j.appender.rolling.layout=org.apache.log4j.PatternLayout |
24 |
log4j.appender.rolling.layout.ConversionPattern=%p %t %c - %m%n |
25 |
|
26 |
# Possible information overload? |
27 |
# log4j.appender.stdout.layout=org.apache.log4j.PatternLayout |
28 |
# additionally, some layouts can take additional information -- |
29 |
# like the ConversionPattern for the PatternLayout. |
30 |
# log4j.appender.stdout.layout.ConversionPattern=%d %-5p %-17c{2} (%30F:%L) %3x |
31 |
- %m%n |
32 |
# END APPENDER: ROLLING FILE APPENDER (rolling) |