34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
|
//: logging/log.prop
|
||
|
#### Configuration File ####
|
||
|
# Global Params
|
||
|
# Handlers installed for the root logger
|
||
|
handlers= java.util.logging.ConsoleHandler java.util.logging.FileHandler
|
||
|
# Level for root loggeris used by any logger
|
||
|
# that does not have its level set
|
||
|
.level= FINEST
|
||
|
# Initialization classthe public default constructor
|
||
|
# of this class is called by the Logging framework
|
||
|
config = ConfigureLogging
|
||
|
|
||
|
# Configure FileHandler
|
||
|
# Logging file name - %u specifies unique
|
||
|
java.util.logging.FileHandler.pattern = java%g.log
|
||
|
# Write 100000 bytes before rotating this file
|
||
|
java.util.logging.FileHandler.limit = 100000
|
||
|
# Number of rotating files to be used
|
||
|
java.util.logging.FileHandler.count = 3
|
||
|
# Formatter to be used with this FileHandler
|
||
|
java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter
|
||
|
|
||
|
# Configure ConsoleHandler
|
||
|
java.util.logging.ConsoleHandler.level = FINEST
|
||
|
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
|
||
|
|
||
|
# Set Logger Levels #
|
||
|
com.level=SEVERE
|
||
|
com.bruceeckel.level = FINEST
|
||
|
com.bruceeckel.util.level = INFO
|
||
|
com.bruceeckel.test.level = FINER
|
||
|
random.level= SEVERE
|
||
|
///:~
|