blob: b637f7a68f0c944261a04b738e94d1b73cb35778 [file] [log] [blame]
vinayakb37499692011-11-09 00:25:02 +00001# "handlers" specifies a comma separated list of log Handler
2# classes. These handlers will be installed during VM startup.
3# Note that these classes must be on the system classpath.
4# By default we only configure a ConsoleHandler, which will only
5# show messages at the INFO and above levels.
6handlers= java.util.logging.ConsoleHandler
7
8# To also add the FileHandler, use the following line instead.
9#handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler
10
11# Default global logging level.
12# This specifies which kinds of events are logged across
13# all loggers. For any given facility this global level
14# can be overriden by a facility specific level
15# Note that the ConsoleHandler also has a separate level
16# setting to limit messages printed to the console.
vinayakb8ca59b42011-11-09 04:54:20 +000017.level= WARNING
vinayakb37499692011-11-09 00:25:02 +000018
19############################################################
20# Handler specific properties.
21# Describes specific configuration info for Handlers.
22############################################################
23
24# default file output is in user's home directory.
25java.util.logging.FileHandler.pattern = %h/java%u.log
26java.util.logging.FileHandler.limit = 50000
27java.util.logging.FileHandler.count = 1
28java.util.logging.FileHandler.formatter = java.util.logging.XMLFormatter
29
30# Limit the message that are printed on the console to INFO and above.
31java.util.logging.ConsoleHandler.level = INFO
32java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
33
34
35############################################################
36# Facility specific properties.
37# Provides extra control for each logger.
38############################################################
39
40# For example, set the com.xyz.foo logger to only log SEVERE
41# messages:
42com.xyz.foo.level = SEVERE