Within OFBiz there are several Property Files that control various behavior
For the most part, default settings are recommendation
This document will describe all areas where we feel that the default downloaded settings should be reviewed and modified
Serverstats.properties
The server hit types that are persisted to the DB are:
REQUEST (which are Control Servlet Requests)
EVENT (which are Control Servlet Events)
VIEW (which are Control Servlet Views)
ENTITY
SERVICE
In order to gather and persist these hits to the DB, the specific type must be enabled (Ex. stats.enable.{specific-type}=true).
Server hit statistics are gathered in two ways:
Logging each individual hit in the entity SERVER_HIT.
This will create a new entry for every time there is a new hit on the specific type.
In order to enable logging by each hit, persisting by hits for a specific type must be set to true (e.g. stats.persist.{specific-type}.hit=true).
Also, if you are logging by hits, you must set “stats.persist.visit” and “stats.persist.visitor” to true so that this information is also logged in the SERVER_HIT entry
A “bin of hits” that is recorded in the entity SERVER_HIT_BIN.
This will record how many hits of a specific type were done on certain content in a certain predefined amount of time.
This time is specified in milliseconds by “stats.bin.length.millis”
So, for example, an entry will tell us that 5 REQUESTs were done on “online.eCommerceProductList” in 900000 milliseconds.
To enable logging by bin, “stats.enable.{specific-type}.bin” would be set to true.