Hello,

We've recently upgraded to Storm 1.0 and noticed the behavior of the topology 
logs changed from a flattened structure to a directory structure. We updated 
the worker.xml filefrom this:

fileName="${sys:storm.id}/${sys:worker.port}/${sys:logfile.name}.metrics"
filePattern="${sys:storm.id}/${sys:worker.port}/${sys:logfile.name}.metrics.%i.gz"

to this ("/" to "_")

fileName="${sys:storm.id}_${sys:worker.port}_${sys:logfile.name}.metrics"
filePattern="${sys:storm.id}_${sys:worker.port}_${sys:logfile.name}.metrics.%i.gz"

However, the logs are still in the directory structure and not what I expected: 
a flattened structure.

Is there a different configuration file or a different location to put this 
configuration file so it will do what I want it to do? We currently have this 
file in the "<storm_home>/log4j2" folder.

Thanks for any input.

Andrew Flintosh
Sr. Developer I
T   +1.847.728.4353
F   +1.847.583.2600
24-hour Client Support Number: 800.63.STATS | 1.847.470.8798 (outside US)

STATS LLC<http://www.stats.com/>
Follow us: Twitter<http://www.twitter.com/statsbiznews>  |  
Facebook<https://www.facebook.com/STATSllc>  |  
LinkedIn<https://www.linkedin.com/company/stats-llc>  |  
Google+<https://plus.google.com/101207644655620351491/about>
Elevate Your Game(tm)

Reply via email to