Hi,
As suggested this is how I am starting my stream

D:\kafka_2.10-0.10.1.1>bin\windows\kafka-run-class.bat -Dlog4j.debug
-Dlog4j.configurationFile=file:///D:/kafka_2.10-0.10.1.1/log4js.properties
TestKafkaWindowStream
log4j: Using URL
[file:D:/kafka_2.10-0.10.1.1/config/tools-log4j.properties] for automatic
log4j configuration.

You can see it somehow does not pick my log4j properties but always picks
some tools-log4j.properties.

I have tried many different ways to specify log4j.configurationFile but it
always seem to be picking up a different log4j properties file.

So is it something that we should always configure our log4j under
tools-log4j.properties?

Thanks
Sachin



On Fri, Jan 27, 2017 at 2:31 PM, Damian Guy <[email protected]> wrote:

> -Dlog4j.configuration=your-log4j.properties
>

Reply via email to