| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.crunch.test.DebugLogging
public final class DebugLogging
Allows direct manipulation of the Hadoop log4j settings to aid in unit testing. Not recommended for production use.
| Method Summary | |
|---|---|
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. | 
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public static void enable(org.apache.log4j.Level level)
Level.
level - The log4j level
public static void enable(org.apache.log4j.Level level,
                          org.apache.log4j.Appender appender)
Appender at the specified Level.
level - The log4j levelappender - The log4j appender
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||