1
|
# sitools logging.properties file.
|
2
|
|
3
|
# Handlers
|
4
|
# "handlers" specifies a comma separated list of log Handler
|
5
|
# classes. These handlers will be installed during VM startup.
|
6
|
# Note that these classes must be on the system classpath.
|
7
|
# By default we only configure a ConsoleHandler, which will only
|
8
|
# show messages at the INFO and above levels.
|
9
|
|
10
|
handlers = java.util.logging.ConsoleHandler, java.util.logging.FileHandler
|
11
|
|
12
|
# Default global logging level.
|
13
|
# This specifies which kinds of events are logged across
|
14
|
# all loggers. For any given facility this global level
|
15
|
# can be overriden by a facility-specific level.
|
16
|
# Note that the ConsoleHandler also has a separate level
|
17
|
# setting to limit messages printed to the console.
|
18
|
|
19
|
.level = ALL
|
20
|
|
21
|
# Limit the messages that are printed on the console
|
22
|
#java.util.logging.ConsoleHandler.level=INFO
|
23
|
#java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter
|
24
|
|
25
|
# Limit the messages that are printed to the file
|
26
|
java.util.logging.FileHandler.level=INFO
|
27
|
java.util.logging.FileHandler.pattern=./logs/sitools-logging-%g.log
|
28
|
java.util.logging.FileHandler.count=10
|
29
|
java.util.logging.FileHandler.limit=100000
|
30
|
java.util.logging.FileHandler.formatter=java.util.logging.SimpleFormatter
|
31
|
|
32
|
#org.restlet.engine.log.AccessLogFileHandler.level=ALL
|
33
|
#org.restlet.engine.log.AccessLogFileHandler.pattern=%h/logs/sitools-access-%u.log
|
34
|
#org.restlet.engine.log.AccessLogFileHandler.formatter=java.util.logging.SimpleFormatter
|
35
|
|
36
|
#.level specifies the default level for the Handler (defaults to Level.ALL).
|
37
|
#.filter specifies the name of a Filter class to use (defaults to no Filter).
|
38
|
#.formatter specifies the name of a Formatter class to use (defaults to java.util.logging.XMLFormatter)
|
39
|
#.encoding the name of the character set encoding to use (defaults to the default platform encoding).
|
40
|
#.limit specifies an approximate maximum amount to write (in bytes) to any one file. If this is zero, then there is no limit. (Defaults to no limit).
|
41
|
#.count specifies how many output files to cycle through (defaults to 1).
|
42
|
#.pattern specifies a pattern for generating the output file name. See below for details. (Defaults to "%h/java%u.log").
|
43
|
#.append specifies whether the FileHandler should append onto any existing files (defaults to false).
|
44
|
|
45
|
fr.cnes.sitools.FileHandler.level=ALL
|
46
|
fr.cnes.sitools.ConsoleHandler.level=INFO
|
47
|
org.apache.solr.ConsoleHandler.level=WARNING
|
48
|
|
49
|
#sitools.server.AccessLogFileHandler.level=INFO
|
50
|
#sitools.server.AccessLogFileHandler.level=ALL
|
51
|
|
52
|
#FILE HANDLER FOR ACCESS LOG
|
53
|
sitools.logging.server.handlers=fr.cnes.sitools.logging.java.util.logging.FileHandlerLogAccessServer
|
54
|
fr.cnes.sitools.logging.java.util.logging.FileHandlerLogAccessServer.level=ALL
|
55
|
fr.cnes.sitools.logging.java.util.logging.FileHandlerLogAccessServer.pattern=./logs/sitools-log-service-%g.log
|
56
|
fr.cnes.sitools.logging.java.util.logging.FileHandlerLogAccessServer.count=10
|
57
|
fr.cnes.sitools.logging.java.util.logging.FileHandlerLogAccessServer.limit=100000
|
58
|
fr.cnes.sitools.logging.java.util.logging.FileHandlerLogAccessServer.formatter=fr.cnes.sitools.logging.LogAccessFormatter
|
59
|
sitools.logging.server.useParentHandlers=false
|
60
|
|
61
|
#FILE HANDLER FOR ACCESS LOG ON APPLICATION SERVICES ONLY
|
62
|
sitools.logging.server.application.handlers=fr.cnes.sitools.logging.java.util.logging.FileHandlerLogAccessApplications
|
63
|
fr.cnes.sitools.logging.java.util.logging.FileHandlerLogAccessApplications.level=ALL
|
64
|
fr.cnes.sitools.logging.java.util.logging.FileHandlerLogAccessApplications.pattern=./logs/sitools-log-application-service-%g.log
|
65
|
fr.cnes.sitools.logging.java.util.logging.FileHandlerLogAccessApplications.count=10
|
66
|
fr.cnes.sitools.logging.java.util.logging.FileHandlerLogAccessApplications.limit=100000
|
67
|
fr.cnes.sitools.logging.java.util.logging.FileHandlerLogAccessApplications.formatter=fr.cnes.sitools.logging.LogAccessFormatter
|
68
|
sitools.logging.server.application.useParentHandlers=false
|
69
|
|