kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "hsy541@gmail.com" <hsy...@gmail.com>
Subject Re: log4j dir?
Date Fri, 14 Nov 2014 19:17:37 GMT
Anyone has any idea how do I config the log4j file dir?

On Thu, Nov 13, 2014 at 4:58 PM, hsy541@gmail.com <hsy541@gmail.com> wrote:

> Hi guys,
>
> Just notice kafka.logs.dir in log4j.properties doesn't take effect
>
> It's always set to *$base_dir/logs* in kafka-run-class.sh
>
> LOG_DIR=$base_dir/logs
> KAFKA_LOG4J_OPTS="-Dkafka.logs.dir=$LOG_DIR $KAFKA_LOG4J_OPTS"
>
> Best,
> Siyuan
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message