After installing storm, look at storm/logback/cluster.xml under the RollingFileAppender.
The log files are by default written to storm/logs folder you can do a symbolic link before starting storm. For example if storm is unzipped in /opt/storm and you would like to log to /mylogs ln -s -f /mylogs /opt/storm/logs Regards, Itai ________________________________ From: Minqi Jiang <[email protected]> Sent: Monday, October 27, 2014 8:27 AM To: [email protected] Subject: How to use logback to log to a file? Hi all, I'm having trouble figuring out how to make Storm log to a file. From my understanding, the logback cluster.xml should specify the location of output logs. However, taking a look at this file, it seems the output path is specified as {storm.log.dir}. How can I find out what this value is? I am running Storm locally for now on OS X 10.9.5. I looked inside the storm directly in ~/.m2/repository/ and do not see a directory called "log" or "logs". Any help is much appreciated. Thanks, Minqi
