diff --git a/lib/log/index.js b/lib/log/index.js index 69b9eab..8e8ae4e 100644 --- a/lib/log/index.js +++ b/lib/log/index.js @@ -94,7 +94,7 @@ function Log(filename, opts) { const cache = new Cache({ maxSize: 1024 }) // This is potentially 64 MiB! let raf = RAF(filename) - const statsFilename = filename + '.stats' + const statsFilename = filename + 'stats.json' const blockSize = opts?.blockSize ?? DEFAULT_BLOCK_SIZE const codec = opts?.codec ?? DEFAULT_CODEC const writeTimeout = opts?.writeTimeout ?? DEFAULT_WRITE_TIMEOUT