###
# #%L
# Fuse Patch :: Distro :: WildFly
# %%
# Copyright (C) 2015 Private
# %%
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# 
#      http://www.apache.org/licenses/LICENSE-2.0
# 
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# #L%
###

# Additional logger names to configure (root logger is always configured)
loggers=org.jboss.modules
logger.org.jboss.modules.level=OFF

# Root logger level
logger.level=${fusepatch.log.level:DEBUG}

# Root logger handlers
logger.handlers=FILE,CONSOLE

# File handler configuration
handler.FILE=org.jboss.logmanager.handlers.FileHandler
handler.FILE.level=DEBUG
handler.FILE.properties=autoFlush,fileName
handler.FILE.append=true
handler.FILE.autoFlush=true
handler.FILE.fileName=${fusepatch.log.file:fusepatch.log}
handler.FILE.formatter=FILE_PATTERN

# Formatter pattern configuration
formatter.FILE_PATTERN=org.jboss.logmanager.formatters.PatternFormatter
formatter.FILE_PATTERN.properties=pattern
formatter.FILE_PATTERN.pattern=%d{HH:mm:ss,SSS} %-5p [%c] %s%E%n

# Console handler configuration
handler.CONSOLE=org.jboss.logmanager.handlers.ConsoleHandler
handler.CONSOLE.level=INFO
handler.CONSOLE.formatter=CONSOLE_PATTERN

# Formatter pattern configuration
formatter.CONSOLE_PATTERN=org.jboss.logmanager.formatters.PatternFormatter
formatter.CONSOLE_PATTERN.properties=pattern
formatter.CONSOLE_PATTERN.pattern=%s%E%n
