I add a item in the storm.yaml at the supervisor machine node:
worker.childopts: "-Dlog4j.configuration=log4j.xml"
then I restart supervisor. in the java process info , I get the
follow:
-server -Dlog4j.configuration=log4j.xml
-Dlogfile.name=worker-6702.log -
Dlog4j.configuration=storm.log.properties
that show double log4j.configration.
---------- Forwarded message ----------
From: macro chen <
macrochen...@gmail.com>
Date: Feb 23, 1:43 pm
Subject: about log4j configuration in storm topology
To: storm-user
There is alog4j.xml package in MyTopology.jar , when i startup the
supervisor node, the task'slog4juse the config under the storm/log4j/
storm.log.properties instead of mylog4j.xml in jar file. how to use
mylog4jconfig file?