public abstract class Logging extends Object
Modifier and Type | Field and Description |
---|---|
static org.apache.logging.log4j.Level |
NOTICE |
Constructor and Description |
---|
Logging() |
Modifier and Type | Method and Description |
---|---|
static void |
configureConsoleLogging() |
static void |
configureFileLogging(String logfile) |
static boolean |
setLogLevel(org.apache.logging.log4j.core.LoggerContext context,
String logger,
org.apache.logging.log4j.Level level) |
static void |
setLogLevels()
Set log4j2 log levels based on properties:
log.<logger-name>=info|debug|warning|...
|
public static boolean setLogLevel(org.apache.logging.log4j.core.LoggerContext context, String logger, org.apache.logging.log4j.Level level)
public static void setLogLevels()
public static void configureConsoleLogging()
public static void configureFileLogging(String logfile)
Copyright © 2016. All rights reserved.