Class LoggingSetupTask

  • All Implemented Interfaces:
    org.jboss.as.arquillian.api.ServerSetupTask

    public class LoggingSetupTask
    extends SnapshotServerSetupTask
    implements org.jboss.as.arquillian.api.ServerSetupTask
    A setup task for configuring loggers for tests.
    Author:
    James R. Perkins
    • Constructor Detail

      • LoggingSetupTask

        public LoggingSetupTask()
    • Method Detail

      • getConsoleHandlerName

        protected String getConsoleHandlerName()
        Determines the name of the console handler. If null is returned the console handler will not be changed.
        Returns:
        the console handler name or null to configure nothing
      • getLogLevels

        protected Map<String,​Set<String>> getLogLevels()
        A map where the key is the log level and the value is a collection of logger names. This map is used to create loggers. If the logger already exists it will be updated instead.
        Returns:
        a mapping of levels to loggers