Re: kafka application logdir

2014-11-18 Thread Jun Rao
Try the following. KAFKA_LOG4J_OPTS=-Dlog4j.configuration=file:/mylog4jdir /opt/kafka/bin/kafka-server-start.sh /opt/kafka/config/server.properties Thanks, Jun On Mon, Nov 17, 2014 at 11:11 AM, Jimmy John jj...@livefyre.com wrote: How do I configure the application kafka log dir? Right now

Re: kafka application logdir

2014-11-17 Thread Harsha
you can configure it under /opt/kafka/config/log4j.properties and look for kafka.log.dir On Mon, Nov 17, 2014, at 11:11 AM, Jimmy John wrote: How do I configure the application kafka log dir? Right now the default is /var/log/upstart/kafka.log . I want to point it to a different mount

Re: kafka application logdir

2014-11-17 Thread Jimmy John
I tried that but it did not work. Dug a little deeper and saw this line in bin/kafka-run-class.sh: KAFKA_LOG4J_OPTS=-Dkafka.logs.dir=$LOG_DIR $KAFKA_LOG4J_OPTS changed the above to: KAFKA_LOG4J_OPTS=$KAFKA_LOG4J_OPTS and it writes to my configured kafka.logs.dir jim On Mon, Nov 17, 2014

Re: kafka application logdir

2014-11-17 Thread Jimmy John
Looks like there is already a tkt for this: https://issues.apache.org/jira/browse/KAFKA-1204 thx jim On Mon, Nov 17, 2014 at 1:59 PM, Jimmy John jj...@livefyre.com wrote: I tried that but it did not work. Dug a little deeper and saw this line in bin/kafka-run-class.sh: