1############################################################ 2# 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. 21handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler 22 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 overridden 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# 30# Available logging levels: OFF, SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST, ALL 31# OFF will give no output, SEVERE will give very little output, FINEST and ALL will give lots of output. 32# 33.level= ALL 34 35############################################################ 36# Handler specific properties. 37# Describes specific configuration info for Handlers. 38############################################################ 39 40# default file output is in user's home directory. 41#java.util.logging.FileHandler.pattern = %hjava%u.log 42java.util.logging.FileHandler.pattern = opengrok%g.%u.log 43java.util.logging.FileHandler.limit = 52428800 44java.util.logging.FileHandler.count = 3 45java.util.logging.FileHandler.level = ALL 46#java.util.logging.FileHandler.formatter = java.util.logging.XMLFormatter 47java.util.logging.FileHandler.formatter = org.opengrok.indexer.logger.formatter.SimpleFileLogFormatter 48 49# Limit the message that are printed on the console to WARNING and above (default "quiet" mode). 50# if verbose is set, then log INFO and above 51java.util.logging.ConsoleHandler.level = WARNING 52java.util.logging.ConsoleHandler.formatter = org.opengrok.indexer.logger.formatter.SimpleConsoleFormatter 53 54 55############################################################ 56# Facility specific properties. 57# Provides extra control for each logger. 58############################################################ 59 60# For example, set the com.xyz.foo logger to only log SEVERE 61# messages: 62#com.xyz.foo.level = SEVERE 63org.opengrok.level = ALL 64