From 59f5d9c6e7d20602e6088469532505dd502644a7 Mon Sep 17 00:00:00 2001 From: Fabian Stamm Date: Thu, 20 Sep 2018 19:42:47 +0200 Subject: [PATCH] Adding new_file on setup on false on error file --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 1f795b6..bef81d4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -107,7 +107,7 @@ export class LoggingBase { } if (this.config.errorfile) { - let f = await this.initializeFile(this.config.errorfile, true); + let f = await this.initializeFile(this.config.errorfile, false); this.errorStream = f.stream; this.errorSize = f.size; }