You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Joe San <co...@gmail.com> on 2016/02/12 08:33:18 UTC

Kafka 0.8.2.0 Log4j

How could I get rid of this warning?

log4j:WARN No appenders could be found for logger
(kafka.utils.VerifiableProperties).
log4j:WARN Please initialize the log4j system properly.

Any ideas how to get rid of this warning?

Re: Kafka 0.8.2.0 Log4j

Posted by Joe San <co...@gmail.com>.
But still could not get rid of this annoying warning!

On Fri, Feb 12, 2016 at 12:58 PM, Joe San <co...@gmail.com> wrote:

> I have a logback.xml that I use when I do sbt run:
>
> sbt -Dlogback.configurationFile=app-logger.xml run
>
> On Fri, Feb 12, 2016 at 12:19 PM, Ben Stopford <be...@confluent.io> wrote:
>
>> Check you’re setting the Kafka log4j properties.
>>
>> -Dlog4j.configuration=file:config/log4j.properties
>>
>> B
>> > On 12 Feb 2016, at 07:33, Joe San <co...@gmail.com> wrote:
>> >
>> > How could I get rid of this warning?
>> >
>> > log4j:WARN No appenders could be found for logger
>> > (kafka.utils.VerifiableProperties).
>> > log4j:WARN Please initialize the log4j system properly.
>> >
>> > Any ideas how to get rid of this warning?
>>
>>
>

Re: Kafka 0.8.2.0 Log4j

Posted by Joe San <co...@gmail.com>.
I have a logback.xml that I use when I do sbt run:

sbt -Dlogback.configurationFile=app-logger.xml run

On Fri, Feb 12, 2016 at 12:19 PM, Ben Stopford <be...@confluent.io> wrote:

> Check you’re setting the Kafka log4j properties.
>
> -Dlog4j.configuration=file:config/log4j.properties
>
> B
> > On 12 Feb 2016, at 07:33, Joe San <co...@gmail.com> wrote:
> >
> > How could I get rid of this warning?
> >
> > log4j:WARN No appenders could be found for logger
> > (kafka.utils.VerifiableProperties).
> > log4j:WARN Please initialize the log4j system properly.
> >
> > Any ideas how to get rid of this warning?
>
>

Re: Kafka 0.8.2.0 Log4j

Posted by Ben Stopford <be...@confluent.io>.
Check you’re setting the Kafka log4j properties.  

-Dlog4j.configuration=file:config/log4j.properties

B 
> On 12 Feb 2016, at 07:33, Joe San <co...@gmail.com> wrote:
> 
> How could I get rid of this warning?
> 
> log4j:WARN No appenders could be found for logger
> (kafka.utils.VerifiableProperties).
> log4j:WARN Please initialize the log4j system properly.
> 
> Any ideas how to get rid of this warning?