You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by Edison <xe...@gmail.com> on 2013/12/13 07:54:54 UTC
how to split app log from worker log?
Hi,
I'm trying to print my own log information using slf4j api into a seperated
log file, e.g. test.log from worker-xxxx.log.
I tried to configure the cluster.xml to add a new appender to set the
test.log, and a new logger for invocation. But it's not working.
At the end, I found a workaround that using logback JoranConfigurator to
point to a seperate logback.xml to replace the default one, it's working. I
got my app log there. But the thing is, new logback configuration will
overwrite storm's, thus storms' output are gone.
Is there a good way to impl it?
Thank you