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