Skip to content

Commit 6a9f309

Browse files
author
Hweinstock
committed
refactor(logging): swap logging constants to maintain past 10-days at 5MB caps
1 parent e1ee9ed commit 6a9f309

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/logging/fileLogger.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ function wrapWinstonLogger(
4242
* @returns A {@link AsyncLogger} that writes to a rotating file via winston.
4343
*/
4444
export function createFileLogger(config: FileLoggerConfig): AsyncLogger {
45-
const maxSizeInMB = config.maxSizeInMB ?? 10;
46-
const maxFileCount = config.maxFileCount ?? 5;
45+
const maxSizeInMB = config.maxSizeInMB ?? 5;
46+
const maxFileCount = config.maxFileCount ?? 10;
4747
const bindings = config.bindings ?? {};
4848

4949
const transport = new DailyRotateFile({

0 commit comments

Comments
 (0)