- Fix scoping of on-disk state to reflect system type/scope/id
- Previously we only considered API key to determine which state to save,
which meant that in configurations with multiple servers but a single
organization API key we'd usually loose statistics on restarts, or
get the wrong values for diff-ing the query statistics - This is a backwards-incompatible change for the on-disk format and
therefore bumps the version from 1 to 2. Effectively this will show
as one period of no data after upgrading to this version, as the
previously saved counter values in the state file won't be used
- Previously we only considered API key to determine which state to save,
- Add support for "%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h " log_line_prefix
- Use explicit log file clean up instead of deferrals
- There have been reports of old temporary files containing log lines
not being cleaned up fully - attempt to fix that
- There have been reports of old temporary files containing log lines
- systemd config: Fix incorrect specification of memory limit & restart event Dom Hutton #26