You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Andras Sereny (JIRA)" <ji...@apache.org> on 2014/04/17 15:07:18 UTC

[jira] [Created] (KAFKA-1401) Log dir hardcoded in bin/kafka-run-class.sh

Andras Sereny created KAFKA-1401:
------------------------------------

             Summary: Log dir hardcoded in bin/kafka-run-class.sh 
                 Key: KAFKA-1401
                 URL: https://issues.apache.org/jira/browse/KAFKA-1401
             Project: Kafka
          Issue Type: Bug
          Components: tools
    Affects Versions: 0.8.1
         Environment: *nix
            Reporter: Andras Sereny


The bin/kafka-run-class.sh start script hardcodes the server log directory:

LOG_DIR=$base_dir/logs 

While this might be useful for a development setup, I think in production you wouldn't want the logs go inside the Kafka installation directory. LOG_DIR should be configurable (via an enviroment variable, like JMX_PORT?) with this sensible default provided.



--
This message was sent by Atlassian JIRA
(v6.2#6252)