accessLogsPerSecond property

int accessLogsPerSecond
getter/setter pair

Access records written one per request in any one second; the rest of that second is one summary line with their count. Answers of 500 and above, and failures, are always written one each, and the request metrics count every request whatever this is. Zero writes no individual access lines below 500. DARTVEL_ACCESS_LOGS_PER_SECOND sets it for a server.

A line per request at volume costs more than the request: the JSON encoding, the redaction scans and the write to stdout took more of the isolate than the handlers did, and a shipper billed per line turns it into a bill.

Implementation

static int accessLogsPerSecond = defaultAccessLogsPerSecond;