File: log4j-manual-2.conf

package info (click to toggle)
liblog-log4perl-perl 1.57-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,956 kB
  • sloc: perl: 6,405; makefile: 9
file content (13 lines) | stat: -rw-r--r-- 479 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
# From the Log4j manual at
# http://jakarta.apache.org/log4j/docs/manual.html
# (Just replaced ConsoleAppender by BufferAppender for testing)

log4j.rootLogger=DEBUG, A1
log4j.appender.A1=Log::Log4perl::Appender::TestBuffer
log4j.appender.A1.layout=org.apache.log4j.PatternLayout

# Print the date in ISO 8601 format
log4j.appender.A1.layout.ConversionPattern=%d [%t] %-5p %c - %m%n

# Print only messages of level WARN or above in the package com.foo.
log4j.logger.com.foo=WARN