Class LoggerConfigurator

java.lang.Object
me.pauleff.common.LoggerConfigurator

public final class LoggerConfigurator extends Object
Configures Logback console and rolling file logging for the application.
  • Method Details

    • configure

      public static void configure(boolean verbose)
      Configures the root logger with console and daily rolling file appenders.

      Creates the log directory if needed, resets the Logback context, and attaches appenders. Verbose mode enables debug-level console output and includes the logger name in the console pattern.

      Parameters:
      verbose - true for debug console output with logger names; false for info console output without logger names