You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by iotmani <gi...@git.apache.org> on 2017/06/07 17:48:33 UTC

[GitHub] kafka pull request #3260: Fixed path to log4j config file

GitHub user iotmani opened a pull request:

    https://github.com/apache/kafka/pull/3260

    Fixed path to log4j config file

    While running the quickstart tutorial, I came across this exception due to bad file URI:
    
    D:\gdrive\workspace\Pulse\kafka_2.11-0.10.2.0>bin\windows\kafka-server-start.bat config\server.properties
    log4j:ERROR Could not read configuration file from URL [file:D:/Userfiles/my_user_dir/Downloads/kafka_2.11-0.10.2.0/kafka_2.11-0.10.2.0/bin/windows/../../config/log4j.properties].
    java.io.FileNotFoundException: D:\Userfiles\my_user_dir\Downloads\kafka_2.11-0.10.2.0\kafka_2.11-0.
    10.2.0\bin\windows\..\..\config\log4j.properties (The system cannot find the path specified)
            at java.io.FileInputStream.open0(Native Method)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/iotmani/kafka patch-1

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/3260.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3260
    
----
commit 62d0f239280c25e903f85b053ed420f64bd487b9
Author: iotmani <sa...@gmail.com>
Date:   2017-06-07T17:47:12Z

    Fixed path to log4j config file
    
    While running the quickstart tutorial, I came across this exception due to bad file URI:
    
    D:\gdrive\workspace\Pulse\kafka_2.11-0.10.2.0>bin\windows\kafka-server-start.bat config\server.properties
    log4j:ERROR Could not read configuration file from URL [file:D:/Userfiles/my_user_dir/Downloads/kafka_2.11-0.10.2.0/kafka_2.11-0.10.2.0/bin/windows/../../config/log4j.properties].
    java.io.FileNotFoundException: D:\Userfiles\my_user_dir\Downloads\kafka_2.11-0.10.2.0\kafka_2.11-0.
    10.2.0\bin\windows\..\..\config\log4j.properties (The system cannot find the path specified)
            at java.io.FileInputStream.open0(Native Method)

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---