MCPcopy Create free account
hub / github.com/apache/pig / debugOn

Method debugOn

src/org/apache/pig/PigServer.java:386–389  ·  view source on GitHub ↗

Set the logging level to DEBUG.

()

Source from the content-addressed store, hash-verified

384 * Set the logging level to DEBUG.
385 */
386 public void debugOn() {
387 Logger.getLogger("org.apache.pig").setLevel(Level.DEBUG);
388 pigContext.getLog4jProperties().setProperty("log4j.logger.org.apache.pig", Level.DEBUG.toString());
389 }
390
391 /**
392 * Set the logging level to the default.

Callers 2

testGroupAndUnionMethod · 0.95
processSetMethod · 0.80

Calls 4

getLog4jPropertiesMethod · 0.80
setPropertyMethod · 0.65
getLoggerMethod · 0.45
toStringMethod · 0.45

Tested by 1

testGroupAndUnionMethod · 0.76