File: log4j.properties

package info (click to toggle)
openid4java 1.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,912 kB
  • sloc: java: 14,510; xml: 2,402; jsp: 865; makefile: 3
file content (106 lines) | stat: -rw-r--r-- 3,718 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
#
# Copyright 2006-2008 Sxip Identity Corporation
#

################################################################
#
# Sxip Access logging controls
#
################################################################

log4j.rootLogger=INFO, A1
# INFO - log level, possible values: DEBUG, INFO, WARN, ERROR
#        If DEBUG is used passwords will be dumped to log files!
#        Do not use in production.
# A2 - general daily rolling file appender
# A3 - errors only file appender
# Add A1 to also log to console (and catalina.out)
# Add A4 to also log to syslog

log4j.logger.org.openid4java=DEBUG, A2, A3
log4j.logger.net.sxip=DEBUG, A2, A3

# A1 is set to be ConsoleAppender sending its output to System.out
log4j.appender.A1=org.apache.log4j.ConsoleAppender

# A1 uses PatternLayout.
log4j.appender.A1.layout=org.apache.log4j.PatternLayout

# The conversion pattern consists of date in ISO8601 format, level,
# thread name, logger name truncated to its rightmost two components
# and left justified to 17 characters, location information consisting
# of file name (padded to 13 characters) and line number, nested
# diagnostic context, the and the application supplied message

log4j.appender.A1.layout.ConversionPattern=%d{yyyy-MM-dd'T'HH:mm:ss'Z'} %-5p %m CLASS:%C{2} %t %x %n

################################################################
#
# Send Errors, Warnings and Infos to an audit log
#
################################################################

# Appender A2 writes all messages to the file "sxip-tng.log".
# Define the location where the log file will be created.
# Ensure the directory already exists with appropriate
# write permissions. Refer to the "Troubleshooting" section
# of the Sxip Access documentation for further information about
# error messages.

log4j.appender.A2=org.apache.log4j.DailyRollingFileAppender
log4j.appender.A2.DatePattern=yyMMdd'.log'
log4j.appender.A2.File=${catalina.home}/logs/openidcards.sxip.com_demorp.log


# Append to the log.
log4j.appender.A2.Append=true

# Appender A2 uses the PatternLayout.
log4j.appender.A2.layout=org.apache.log4j.PatternLayout
log4j.appender.A2.layout.ConversionPattern=%d{yyyy-MM-dd'T'HH:mm:ss'Z'} %-5p %m CLASS:%C{2} %t %x %n


################################################################
#
# Send Errors to an error log
#
################################################################

# Appender A3 writes "error" class messages to the file "sxip-tng-error.log".
# Define the location where the log file will be created.
# Ensure the directory already exists with appropriate
# write permissions. Refer to the "Troubleshooting" section
# of the Sxip Access documentation for further information about
# error messages.

log4j.appender.A3=org.apache.log4j.DailyRollingFileAppender
log4j.appender.A3.DatePattern=yyMMdd'.log'
log4j.appender.A3.File=${catalina.home}/logs/openidcards.sxip.com_demorp_error.log

# Append to the log.
log4j.appender.A3.Append=true

log4j.appender.A3.threshold=ERROR

# Appender A3 uses the PatternLayout.
log4j.appender.A3.layout=org.apache.log4j.PatternLayout
log4j.appender.A3.layout.ConversionPattern=%d{yyyy-MM-dd'T'HH:mm:ss'Z'} %-5p %m CLASS:%C{2} %t %x %n


################################################################
#
# Send Errors to the SysLog
#
################################################################

# Appender A4 writes to the syslog.
log4j.appender.A4=org.apache.log4j.net.SyslogAppender

log4j.appender.A4.threshold=ERROR
# Specify host name of the syslog service
log4j.appender.A4.SyslogHost=localhost

# Appender A4 uses the PatternLayout.
log4j.appender.A4.layout=org.apache.log4j.PatternLayout
log4j.appender.A4.layout.ConversionPattern=%m CLASS:%C{2} %n