Kafka-0.8 Log4j Appender

2014-02-25 Thread 김동경
Dear all. Are there anyone who tried running Kafka-0.8 Log4j Appender? I want to send my application log into Kafka via Log4j Appender. Here is my log4j.properties. I couldn`t find any proper encoder, so I just configure it to use default encoder. (e.g I commented the line.) ---

Re: Kafka-0.8 Log4j Appender

2014-02-26 Thread 김동경
essage send logs an error that in turn tries to resend the message and > gets into this infinite loop. Could you file a JIRA? > > > On Tue, Feb 25, 2014 at 9:51 PM, 김동경 wrote: > > > Dear all. > > > > Are there anyone who tried running Kafka-0.8 Log4j Appender? >

Re: can't connect to kafka from a java client.

2014-03-03 Thread 김동경
Just for your information, I faced same issue. For me, it was origin from the hostname of Kafka node. Since the hostname of broker stored in Zookeeper was different with the hostname what I configured in source, it couldn`t fetch the meta data of brokers. If you configure the log level as debug,

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

2014-03-03 Thread 김동경
I made simple log4j kafka appender. I copied most of the code from 0.8.0 Producer example in " https://cwiki.apache.org/confluence/display/KAFKA/0.8.0+Producer+Example"; to code "append" function. I confirmed producer example code is working with my environment. But when I use same logic for log4j

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

2014-03-04 Thread 김동경
ies 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

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