[ https://issues.apache.org/activemq/browse/SM-507?page=all ]
Guillaume Nodet resolved SM-507. -------------------------------- Resolution: Cannot Reproduce I fixed SM-669. Stats dump seems to work fine for me, but stats are only dumped for standard jbi components, not lightweight components. > attribute dumpStats is ignored and Stats.csv not created / filled > ----------------------------------------------------------------- > > Key: SM-507 > URL: https://issues.apache.org/activemq/browse/SM-507 > Project: ServiceMix > Issue Type: Bug > Environment: ServiceMix 3.0M2, current trunk from SVN > Reporter: Georg > > According to http://servicemix.org/site/management.html Stats.csv will be > written if ServiceMix is configured to do so. In the basic example, > servicemix.xml contains the attributes dumpStats="true" statsInterval="10" > so I assumed ServiceMix will dump statistics to a file. While running the > example in the binary distribution incubating-servicemix-3.0-SNAPSHOT, I > searched the whole hard drive but no .csv was found. So I did further > reseach. When starting the quartz example of the current SVN snapshot from > within eclipse in debugging mode, ServiceMix really reads the information > from the servicemix.xml and > org.apache.servicemix.jbi.container.EnvironmentContext.setDumpStats(boolean > value) is called with value=true (so like it shall) but no csv is written to > harddisk. I did not find the place in the source of servicemix where a > Stats.csv is created/filled/appended. Moreover, the string "Stats.csv" cannot > be found in any source file. > How can one enable the dumping of statistic information to files? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira