For some reason, I can't get metrics running on a recent CFMX7 upgrade (from CFMX6.1). The relevant portions on jrun.xml are as follows:
<!-- This Service provides metrics information --> <!-- ================================================================== --> <service class="coldfusion.server.jrun4.metrics.MetricsServiceAdapter" name="MetricsService"> <attribute name="bindToJNDI">true</attribute> </service> <!-- ================================================================== --> <!-- This Service represents JRun's logging facility --> <!-- ================================================================== --> <service class="jrunx.logger.LoggerService" name="LoggerService"> <attribute name="format">{server.date} {log.level} {log.message}{log.exception}</attribute> <!-- You can modify format to suit your need. --> <!-- EXAMPLE: <attribute name="format">{date MM/dd HH:mm:ss} {log.message}{log.exception}</attribute> --> <attribute name="errorEnabled">true</attribute> <attribute name="warningEnabled">true</attribute> <attribute name="infoEnabled">true</attribute> <attribute name="debugEnabled">false</attribute> <!-- You may also need to uncomment MetricsService if you want metrics enabled --> <attribute name="metricsEnabled">true</attribute> <attribute name="metricsLogFrequency">120</attribute> <attribute name="metricsFormat">Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: {sessions} Total Memory={totalMemory} Free={freeMemory}</attribute> <service class="jrunx.logger.ThreadedLogEventHandler" name="ThreadedLogEventHandler"> <service class="jrunx.logger.ConsoleLogEventHandler" name=":service=ConsoleLogEventHandler" /> <service class="jrunx.logger.FileLogEventHandler" name="FileLogEventHandler"> <attribute name="filename">{jrun.rootdir}/logs/{jrun.server.name}-event.log</attribute> <attribute name="rotationSize">200k</attribute> <attribute name="rotationFiles">3</attribute> <!-- Use heading to specify an alternate log heading for system event log. --> <!-- EXAMPLE: <attribute name="heading"># Created by JRun on {date MM/dd HH:mm:ss}</attribute> --> <attribute name="closeDelay">5000</attribute> <attribute name="deleteOnExit">false</attribute> </service> </service> </service> Is there something I'm doing wrong? The log directory is C:\CFusionMX7\runtime\logs, and I'm looking at coldfusion-out.log. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236307 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54