Package org.apache.camel.cli.connector
Class LoggerHelper
java.lang.Object
org.apache.camel.cli.connector.LoggerHelper
Helper for logger action.
Currently, only log4j is supported.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidchangeLoggingLevel(String logger, String level) Change logging level in the logging system.static StringextractSourceLocationId(String location) static IntegerextractSourceLocationLineNumber(String location) static StringstripSourceLocationLineNumber(String location)
-
Method Details
-
changeLoggingLevel
Change logging level in the logging system. Currently, only log4j is supported.- Parameters:
logger- the logger name, null is assumed to be rootlevel- the new logging level
-
stripSourceLocationLineNumber
-
extractSourceLocationLineNumber
-
extractSourceLocationId
-