# Additional logger names to configure (root logger is always configured)
loggers=org.wildfly.prospero

logger.org.wildfly.prospero.level=INFO
#logger.org.wildfly.prospero.handlers=FILE

# Root logger level
logger.level=ERROR

# Declare handlers for the root logger
logger.handlers=NONE

# handler used to ignore log messages when using a shaded jar
handler.NONE=org.jboss.logmanager.handlers.NullHandler

handlers=CONSOLE
# Console handler configuration
handler.CONSOLE=org.jboss.logmanager.handlers.ConsoleHandler
handler.CONSOLE.properties=autoFlush
handler.CONSOLE.level=WARN
handler.CONSOLE.autoFlush=true
handler.CONSOLE.formatter=PATTERN

handler.FILE=org.jboss.logmanager.handlers.FileHandler
handler.FILE.level=DEBUG
handler.FILE.properties=autoFlush,fileName
handler.FILE.autoFlush=true
handler.FILE.fileName=${jboss.prospero.log.file:jboss-prospero.log}
handler.FILE.formatter=PATTERN

# The log format pattern for both logs
formatter.PATTERN=org.jboss.logmanager.formatters.PatternFormatter
formatter.PATTERN.properties=pattern
formatter.PATTERN.pattern=%d{HH:mm:ss,SSS} %-5p [%c{1}] %m%n
