RE: kafka-connect log4j

2017-01-11 Thread Berryman, Eric
Silly mistake on my part. Thank you very much for your time! (I'll submit a pull request as mentioned) -Original Message- From: Gwen Shapira [mailto:g...@confluent.io] Sent: Wednesday, January 11, 2017 1:25 AM To: Users Subject: Re: kafka-connect log4j btw. It bugs me a bit

Re: kafka-connect log4j

2017-01-10 Thread Gwen Shapira
btw. It bugs me a bit that Connect logs to console and not to file by default. I think tools should log to console, but Connect is more of a service / daemon and should log to file like the brokers do. So when you get your log4j config to work, perhaps submit a PR to Apache Kafka so we'll all enjoy

Re: kafka-connect log4j

2017-01-10 Thread Gwen Shapira
Is your goal to simply log connect to file rather than to the console? In this case your configuration is almost right. Just change the first line in connect-log4j.properties to: log4j.rootLogger=INFO, stdout, connectAppender and then add the lines you have in your email. Or you can get rid of s

kafka-connect log4j

2017-01-10 Thread Berryman, Eric
Hello! Is there a log4j.appender.connectAppender? I noticed there is a log4j.appender.kafkaAppender. I was hoping to setup the connect-log4j.properties like kafka's. log4j.appender.connectAppender=org.apache.log4j.DailyRollingFileAppender log4j.appender.connectAppender.DatePattern='.'-MM-dd-