avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From radai <radai.rosenbl...@gmail.com>
Subject Re: stand alone avro-tools prints log4j warning
Date Thu, 13 Oct 2016 03:11:04 GMT
reading the doc page (http://logging.apache.org/log4j/1.2/faq.html#noconfig),
there's a log4j.defaultInitOverride property. have you tried adding
-Dlog4j.defaultInitOverride=true to your command line ?

On Wed, Oct 12, 2016 at 11:29 AM, Isaac Levy <Isaac.Levy@coxautoinc.com>
wrote:

> Is there any way to silence these?
>
> $ java -jar avro-tools-1.8.1.jar tojson foo
> log4j:WARN No appenders could be found for logger
> (org.apache.hadoop.metrics2.lib.MutableMetricsFactory).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
> more info.
>
> Looks like avro-tools used to include<https://issues.apache.
> org/jira/browse/AVRO-758> log4j config.
>
>
> -Isaac Levy
> OS X el cap, java 1.8.0_92
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message