https://issues.apache.org/bugzilla/show_bug.cgi?id=45753

--- Comment #10 from John Vasileff <[email protected]> 2011-10-03 00:57:30 UTC ---
I wonder if it would be easier for end users if the configuration was made with
rate instead of burstInterval:

float rate; // average number of log statements allowed per second
int maxBurst; // maximum burst of log statements

So, if I have this right, internally:

burstIntervalNanos = maxBurst / rate * NANOS_IN_SECONDS

MaxBurst could be made optional with a default something like Math.max(10,
2*rate).

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to