Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Logging overhead

Logging overhead

Explorer

Hi...

 

Is there any way of reducing the logging overhead of the Kite SDK (e.g., by placing a dedicated log4j.properties file somewhere in the classpath)?

 

For example, in a morphline with multiple tryRules to parse events matching different regexes, we get tons of messages per event, like

 

15/10/02 12:35:35,200 WARN Thread-11 TryRulesBuilder$TryRules: tryRules command found no successful rule

Can this be avoided?

 

Thanks.

 

1 REPLY 1

Re: Logging overhead

Expert Contributor
Yes, try loading a different log4j.properties file with custom log level directives, e.g. via the --log4j CLI option in MapReduceIndexerTool, or similar.

Wolfgang.