Hi team,

I wanted to understand if there is a way to configure a Log4j.xml for Storm.

Our use case is that we want to log all the messages(tuples)  that are
being received from a Solace based queue before it is emitted by the spout
and once when it is emitted.

We are using log4j 1.x based Socket Appenders to write all logs at one
port, from where it is picked by a small service that reads those logs and
puts them in various files.

The above scenario works fine for a local cluster but breaks when we run a
distributed topology.

My guess is that occurs due to Storm using its own configs which are in the
log4j2  folder of the installed storm directory.


Seeking your guidance,
Anshul

Reply via email to