root/tags/0.2/logging.properties

Revision 6120 (checked in by jan, 2 years ago)

logging

Line 
1 ############################################################
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 # The levels in descending order are:
11 #
12 #    * SEVERE (highest value)
13 #    * WARNING
14 #    * INFO
15 #    * CONFIG
16 #    * FINE
17 #    * FINER
18 #    * FINEST (lowest value)
19 #
20 # In addition there is a level OFF that can be used to turn off logging,
21 # and a level ALL that can be used to enable logging of all messages.
22
23 ############################################################
24 #       Global properties
25 ############################################################
26
27 # "handlers" specifies a comma separated list of log Handler
28 # classes.  These handlers will be installed during VM startup.
29 # Note that these classes must be on the system classpath.
30 # By default we only configure a ConsoleHandler, which will only
31 # show messages at the INFO and above levels.
32 handlers= java.util.logging.ConsoleHandler
33
34 # To also add the FileHandler, use the following line instead.
35 #handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler
36
37 # Default global logging level.
38 # This specifies which kinds of events are logged across
39 # all loggers.  For any given facility this global level
40 # can be overriden by a facility specific level
41 # Note that the ConsoleHandler also has a separate level
42 # setting to limit messages printed to the console.
43 .level=WARNING
44
45 ############################################################
46 # Handler specific properties.
47 # Describes specific configuration info for Handlers.
48 ############################################################
49
50
51 # Limit the message that are printed on the console to INFO and above.
52 java.util.logging.ConsoleHandler.level = INFO
53 java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
54
55
56 ############################################################
57 # Facility specific properties.
58 # Provides extra control for each logger.
59 ############################################################
60
61 # For example, set the com.xyz.foo logger to only log SEVERE
62 # messages:
63 #org.hibernate = WARNING
Note: See TracBrowser for help on using the browser.