/** * Gets the log level from this configuration. * * @param job the Hadoop context for the configured job * @return the log level * @since 1.5.0 * @see #setLogLevel(JobConf, Level) */ protected static Level getLogLevel(JobConf job) { return InputConfigurator.getLogLevel(CLASS, job); }
/** * Gets the log level from this configuration. * * @param context the Hadoop context for the configured job * @return the log level * @since 1.5.0 * @see #setLogLevel(Job, Level) */ protected static Level getLogLevel(JobContext context) { return InputConfigurator.getLogLevel(CLASS, context.getConfiguration()); }