Re: Producer fails to send data when it is used in log4j appender.

2014-03-05 Thread Jun Rao
Just see which log4j property file is included in the java classpath. If it's not there, you could add one to your classpath. Thanks, Jun On Wed, Mar 5, 2014 at 3:13 AM, 김동경 wrote: > Sorry. > Since I used maven for dependency, Kafka is included as JAR. > In this case, are there any way to tur

Re: Producer fails to send data when it is used in log4j appender.

2014-03-05 Thread 김동경
Sorry. Since I used maven for dependency, Kafka is included as JAR. In this case, are there any way to turn off it? Thanks Regards Dongkyoung. 2014-03-05 13:21 GMT+09:00 Jun Rao : > Just change config/log4j/properties inside Kafka. > > Thanks, > > Jun > > > On Tue, Mar 4, 2014 at 4:09 PM, 김동경

Re: Producer fails to send data when it is used in log4j appender.

2014-03-04 Thread Jun Rao
Just change config/log4j/properties inside Kafka. Thanks, Jun On Tue, Mar 4, 2014 at 4:09 PM, 김동경 wrote: > I couldn`t find any configuration relevant to turning off the log in > http://kafka.apache.org/documentation.html#configuration. > I included Kafka as Maven dependency. > How could I tur

Re: Producer fails to send data when it is used in log4j appender.

2014-03-04 Thread 김동경
I couldn`t find any configuration relevant to turning off the log in http://kafka.apache.org/documentation.html#configuration. I included Kafka as Maven dependency. How could I turn off the Kafka log in the code? Thanks Regards Dongkyoung 2014-03-04 14:40 GMT+09:00 Jun Rao : > I think it tries t

Re: Producer fails to send data when it is used in log4j appender.

2014-03-03 Thread Jun Rao
I think it tries to add the logging in Kafka itself back to the KafkaAppender. This creates an infinite loop. Maybe you could try setting the log level in Kafka package to OFF? Thanks, Jun On Mon, Mar 3, 2014 at 6:26 PM, 김동경 wrote: > I made simple log4j kafka appender. > I copied most of the