hi, you can disable statistics by setting the second argument of
PortalStatisticsImpl constructor to false in statistic.xml
(WEB-INF\assembly) .
f.e.:
<bean id="PortalStatistics"
class="org.apache.jetspeed.statistics.impl.PortalStatisticsImpl"
init-method="springInit"
destroy-method="springDestroy">
<meta key="j2:cat" value="default" />
<!-- logToCLF -->
<constructor-arg index='0' type="boolean">
<value>${portal.statistics.logToLogger}</value>
</constructor-arg>
<!-- logToDatabase -->
<constructor-arg index='1' type="boolean">
*<value>false</value>*
</constructor-arg>
...
kind regards,
Frank
Am 08.03.2011 16:00, schrieb Jeff Pierce:
How do you reset the portal statistics that are being collected?
I checked on a couple of pages but didn't see it.
Also, are the flush parms the "frequency" of data collected? By that I mean
if I change these values will it reduce the size of the database file?
Is there a way to set the "limit" on size? Ours has grown to be quite
large.
How do you disable stats completely from being collected?
http://portals.apache.org/jetspeed-2/devguide/dev-statistics.html
Thanks so much.