Package org.hotswap.agent.config
Class LogConfigurationHelper
- java.lang.Object
-
- org.hotswap.agent.config.LogConfigurationHelper
-
public class LogConfigurationHelper extends Object
Configure LOG level and handler according to properties.
-
-
Field Summary
Fields Modifier and Type Field Description static StringDATETIME_FORMATstatic StringLOGGER_PREFIX
-
Constructor Summary
Constructors Constructor Description LogConfigurationHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidconfigureLog(Properties properties)Search properties for prefix LOGGER and set level for package in format: LOGGER.my.package=LEVEL
-
-
-
Field Detail
-
LOGGER_PREFIX
public static final String LOGGER_PREFIX
- See Also:
- Constant Field Values
-
DATETIME_FORMAT
public static final String DATETIME_FORMAT
- See Also:
- Constant Field Values
-
-
Method Detail
-
configureLog
public static void configureLog(Properties properties)
Search properties for prefix LOGGER and set level for package in format: LOGGER.my.package=LEVEL- Parameters:
properties- properties
-
-