This repository has been archived by the owner on May 21, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
log4j.properties
109 lines (94 loc) · 4.64 KB
/
log4j.properties
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
107
108
# Set root logger level to DEBUG and its appenders to:
# Zakladni konfiguracni soubor pro log4j, ktery vytvari pripojovace.
# Vytvorit prepojovac, ktery zaznamenava uroven INFO a vyssi.
# log4j.rootLooger=INFO, stdout
log4j.rootLogger=DEBUG, A1, A2, A3, A4, A5
################################################
# ---- APPENDERS ---- #
# #
# Poznamka k patternum: #
# Standardne je pouzit %d [%t] %-5p %c - %m%n #
# ktery loguje zbytecne moc marastu, #
# doporucuji alespon na konzolu A1 pouzivat #
# pattern %d{HH:mm:ss,SSS} %-5p %c{2} - %m%n #
################################################
# Appender loguje do konzoly
log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%d{HH:mm:ss,SSS} %-5p %c - %m%n
# Appender, ktory loguje vsetko do jedneho suboru
log4j.appender.A2=org.apache.log4j.FileAppender
log4j.appender.A2.File=log/log4j.log
log4j.appender.A2.layout=org.apache.log4j.PatternLayout
log4j.appender.A2.layout.ConversionPattern=%d{HH:mm:ss,SSS} %-5p %c - %m%n
# Appender, ktory bude logovat do rollingFileAppender do max 30 suborov po 1MB.
log4j.appender.A3=org.apache.log4j.RollingFileAppender
log4j.appender.A3.File=log/log4j_rolling.log
log4j.appender.A3.MaxFileSize=1000KB
log4j.appender.A3.MaxBackupIndex=5
log4j.appender.A3.layout=org.apache.log4j.PatternLayout
log4j.appender.A3.layout.ConversionPattern=%d{HH:mm:ss,SSS} %-5p %c - %m%n
# Appender, ktory bude logovat ceske stranky.
log4j.appender.A4=org.apache.log4j.FileAppender
log4j.appender.A4.File=log/log4j_cz_urls.log
log4j.appender.A4.layout=org.apache.log4j.PatternLayout
log4j.appender.A4.layout.ConversionPattern=%d{HH:mm:ss,SSS} %-5p %c -%m%n
# loguje do osobitneho suboru len level INFO, pre statistiky url
log4j.appender.A5=org.apache.log4j.FileAppender
log4j.appender.A5.Threshold=INFO
log4j.appender.A5.File=log/log4j_stat.log
log4j.appender.A5.layout=org.apache.log4j.PatternLayout
log4j.appender.A5.layout.ConversionPattern=%d{HH:mm:ss,SSS} %-5p %c - %m%n
# Nastavit pripojovac stdout, aby vypisoval na konzoli.
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
# Nastavit pripojovac stdout, aby pouzival PatternLayout.
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
# Sablona vystupu je jmeno volajiciho souboru a cislo radku.
log4j.appender.stdout.layout.ConversionPattern=%d{HH:mm:ss,SSS} %-5p %c - %m%n
#log4j.appender.HIB_APPENDER=org.apache.log4j.FileAppender
#log4j.appender.HIB_APPENDER.File=/devel/projects/webacc/log/log4j_HIB.log
#log4j.appender.HIB_APPENDER.layout=org.apache.log4j.PatternLayout
#log4j.appender.HIB_APPENDER.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
#######################
# ----- LOGGERS ----- #
#######################
# Struts log4j restriction
log4j.logger.org.apache=INFO
#log4j.logger.org.apache.commons.digester.Digester=INFO
#log4j.logger.org.apache.catalina.startup.TldConfig=INFO
#log4j.logger.org.apache.commons.beanutils=INFO
#log4j.logger.org.apache.commons.validator=INFO
#log4j.logger.org.apache.jasper=INFO
#log4j.logger.org.apache.catalina.core.ApplicationDispatcher=WARN
#log4j.logger.org.apache.struts=WARN
# Tiles restriction
#log4j.logger.org.apache.struts.tiles=DEBUG
# hibernate
#log4j.logger.org.hibernate=INFO
#log4j.logger.org.hibernate.cfg.Binder=WARN, HIB_APPENDER
#log4j.logger.org.hibernate=INFO, HIB_APPENDER
#log4j.logger.org.hibernate.SQL=DEBUG
#log4j.logger.org.hibernate.type=DEBUG, HIB_APPENDER
#log4j.logger.org.hibernate.util.JDBCExceptionReporter=OFF
#log4j.additivity.org.hibernate=false
# application
#log4j.logger.com.bs=DEBUG
#log4j.logger.com.cleverlance.core.db=INFO
#log4j.logger.com.cleverlance.core.lib.execd=WARN
#log4j.logger.org.apache.commons.httpclient = INFO
#log4j.logger.httpclient.wire=WARN
#log4j.logger.com.ncr.teradata.jdbc_4=INFO
#log4j.logger.org.apache.axis=INFO
#log4j.logger.com.bs.dhl.webacc.common.security.FacadeSecurityProvider=INFO
#log4j.logger.com.cleverlance.core.db.HibernateSession=INFO
log4j.logger.org.archive.analyzer=DEBUG
# Searchers
log4j.logger.cz.webarchiv.webanalyzer.multithread.criteria.GeoIpSearcher=INFO
log4j.logger.cz.webarchiv.webanalyzer.multithread.criteria.DictionarySearcher=INFO
log4j.logger.cz.webarchiv.webanalyzer.multithread.criteria.EmailSearcher=INFO
log4j.logger.cz.webarchiv.webanalyzer.multithread.criteria.HtmlLangSearcher=INFO
log4j.logger.cz.webarchiv.webanalyzer.multithread.criteria.PhoneSearcher=INFO
# Managers
log4j.logger.cz.webarchiv.webanalyzer.multithread.managers=INFO
# Core of WebAnalyzer
log4j.logger.cz.webarchiv.webanalyzer.multithread.analyzer.UrlAnalyzer=INFO