Class LoggerHelper

java.lang.Object
org.apache.camel.cli.connector.LoggerHelper

public final class LoggerHelper extends Object
Helper for logger action. Currently, only log4j is supported.
  • Method Details

    • changeLoggingLevel

      public static void changeLoggingLevel(String logger, String level)
      Change logging level in the logging system. Currently, only log4j is supported.
      Parameters:
      logger - the logger name, null is assumed to be root
      level - the new logging level
    • stripSourceLocationLineNumber

      public static String stripSourceLocationLineNumber(String location)
    • extractSourceLocationLineNumber

      public static Integer extractSourceLocationLineNumber(String location)
    • extractSourceLocationId

      public static String extractSourceLocationId(String location)