# # Copyright 2013-2014 Red Hat, Inc. and/or its affiliates. # # Licensed under the Eclipse Public License version 1.0, available at # http://www.eclipse.org/legal/epl-v10.html # # Additional loggers to configure (the root logger is always configured) loggers= logger.level=INFO # Add CONSOLE to the comma delimited list if console output is wanted logger.handlers=ASYNC # Console handler handler.CONSOLE=org.jboss.logmanager.handlers.ConsoleHandler handler.CONSOLE.level=INFO handler.CONSOLE.formatter=CONSOLE handler.CONSOLE.properties=autoFlush,target handler.CONSOLE.autoFlush=true handler.CONSOLE.target=SYSTEM_OUT # Rotating handler handler.FILE=org.jboss.logmanager.handlers.PeriodicRotatingFileHandler handler.FILE.level=ALL handler.FILE.formatter=PATTERN handler.FILE.properties=autoFlush,append,fileName,suffix handler.FILE.constructorProperties=fileName,append handler.FILE.autoFlush=false handler.FILE.append=true handler.FILE.fileName=${org.jboss.forge.log.file:forge.log} handler.FILE.suffix=.yyyy-MM-dd #Async handler handler.ASYNC=org.jboss.logmanager.handlers.AsyncHandler handler.ASYNC.level=ALL handler.ASYNC.handlers=FILE handler.ASYNC.properties=enabled,queueLength,overflowAction handler.ASYNC.constructorProperties=queueLength handler.ASYNC.enabled=true handler.ASYNC.queueLength=512 # How this handler responds when its queue length is exceeded. # This can be set to BLOCK or DISCARD. # BLOCK makes the logging application wait until there is available space in the queue. This is the same behavior as an non-async log handler. # DISCARD allows the logging application to continue but the log message is deleted. handler.ASYNC.overflowAction=DISCARD # Format for the console. The %K{level} is for colorized output formatter.CONSOLE=org.jboss.logmanager.formatters.PatternFormatter formatter.CONSOLE.properties=pattern formatter.CONSOLE.pattern=%K{level}%d{HH\:mm\:ss,SSS} %-5p [%c] (%t) %s%E%n # Default pattern formatter formatter.PATTERN=org.jboss.logmanager.formatters.PatternFormatter formatter.PATTERN.properties=pattern formatter.PATTERN.constructorProperties=pattern formatter.PATTERN.pattern=%d{HH\:mm\:ss,SSS} %-5p [%c] (%t) %s%E%n