commit | author | age
|
332c05
|
1 |
############################################################ |
U |
2 |
# Default Logging Configuration File |
|
3 |
# |
|
4 |
# You can use a different file by specifying a filename |
|
5 |
# with the java.util.logging.config.file system property. |
|
6 |
# For example java -Djava.util.logging.config.file=myfile |
|
7 |
############################################################ |
|
8 |
|
|
9 |
############################################################ |
|
10 |
# Global properties |
|
11 |
############################################################ |
|
12 |
|
|
13 |
# "handlers" specifies a comma separated list of log Handler |
|
14 |
# classes. These handlers will be installed during VM startup. |
|
15 |
# Note that these classes must be on the system classpath. |
|
16 |
# By default we only configure a ConsoleHandler, which will only |
|
17 |
# show messages at the INFO and above levels. |
|
18 |
# handlers= java.util.logging.ConsoleHandler |
|
19 |
|
|
20 |
# To also add the FileHandler, use the following line instead. |
5794c8
|
21 |
# handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler |
332c05
|
22 |
|
U |
23 |
# Default global logging level. |
|
24 |
# This specifies which kinds of events are logged across |
|
25 |
# all loggers. For any given facility this global level |
|
26 |
# can be overriden by a facility specific level |
|
27 |
# Note that the ConsoleHandler also has a separate level |
|
28 |
# setting to limit messages printed to the console. |
|
29 |
# .level= FINE |
5794c8
|
30 |
# .level = NONE |
332c05
|
31 |
|
U |
32 |
############################################################ |
|
33 |
# Handler specific properties. |
|
34 |
# Describes specific configuration info for Handlers. |
|
35 |
############################################################ |
|
36 |
|
|
37 |
# default file output is in user's home directory. |
|
38 |
# java.util.logging.FileHandler.pattern = %h/java%u.log |
|
39 |
# java.util.logging.FileHandler.pattern = /media/extmirror/tomcat747/logs/tv_%u.log |
5794c8
|
40 |
# java.util.logging.FileHandler.pattern = ${catalina.base}/logs/file-cms_%u.log |
U |
41 |
# java.util.logging.FileHandler.limit = 50000 |
332c05
|
42 |
# java.util.logging.FileHandler.count = 1 |
5794c8
|
43 |
# java.util.logging.FileHandler.count = 2 |
332c05
|
44 |
# java.util.logging.FileHandler.formatter = java.util.logging.XMLFormatter |
5794c8
|
45 |
# java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter |
U |
46 |
# java.util.logging.FileHandler.level = FINER |
332c05
|
47 |
|
U |
48 |
# Limit the message that are printed on the console to INFO and above. |
|
49 |
# java.util.logging.ConsoleHandler.level = INFO |
5794c8
|
50 |
# java.util.logging.ConsoleHandler.level = FINER |
U |
51 |
# java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter |
332c05
|
52 |
|
U |
53 |
# Example to customize the SimpleFormatter output format |
|
54 |
# to print one-line log message like this: |
|
55 |
# <level>: <log message> [<date/time>] |
|
56 |
# |
|
57 |
# java.util.logging.SimpleFormatter.format=%4$s: %5$s [%1$tc]%n |
|
58 |
|
|
59 |
############################################################ |
|
60 |
# Facility specific properties. |
|
61 |
# Provides extra control for each logger. |
|
62 |
############################################################ |
|
63 |
|
|
64 |
# For example, set the com.xyz.foo logger to only log SEVERE |
|
65 |
# messages: |
|
66 |
# com.xyz.foo.level = SEVERE |
5794c8
|
67 |
# de.uhilger.filecms.handlers = java.util.logging.FileHandler, java.util.logging.ConsoleHandler |
U |
68 |
# de.uhilger.filecms.level = FINEST |
|
69 |
# de.uhilger.wbx.handlers = java.util.logging.ConsoleHandler |
|
70 |
# de.uhilger.wbx.level = FINEST |