############################################################
#  	Example restSQL Logging Configuration File
#
# You can use a different file by specifying a filename
# in the restsql properties in the logging.config property. 
############################################################

############################################################
#  	Global properties
############################################################

# "handlers" specifies a comma separated list of log Handler 
# classes.  These handlers will be installed during VM startup.
# Note that these classes must be on the system classpath.
handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler

# Default global logging level.
.level= INFO

############################################################
# Handler specific properties.
# Describes specific configuration info for Handlers.
############################################################

# default file output is in user's home directory.
java.util.logging.FileHandler.pattern = /restsql/logs/restsql-%g.log
java.util.logging.FileHandler.limit = 102400
java.util.logging.FileHandler.count = 10
java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter
java.util.logging.FileHandler.append = true

java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter 
java.util.logging.ConsoleHandler.level = FINEST

############################################################
# Facility specific properties.
# Provides extra control for each logger.
############################################################

org.restsql.level = FINEST