public final class DebugLogging extends Object
Modifier and Type | Method and Description |
---|---|
static void |
enable(org.apache.log4j.Level level)
Enables logging Hadoop output to the console using the pattern
'%-4r [%t] %-5p %c %x - %m%n' at the specified
Level . |
static void |
enable(org.apache.log4j.Level level,
org.apache.log4j.Appender appender)
Enables logging to the given
Appender at the specified Level . |
public static void enable(org.apache.log4j.Level level)
Level
.level
- The log4j levelpublic static void enable(org.apache.log4j.Level level, org.apache.log4j.Appender appender)
Appender
at the specified Level
.level
- The log4j levelappender
- The log4j appenderCopyright © 2016 The Apache Software Foundation. All rights reserved.