1
0
mirror of https://git.stamm.me/OpenServer/NodeLogging.git synced 2024-09-28 02:17:07 +00:00

Adding new_file on setup on false on error file

This commit is contained in:
Fabian Stamm 2018-09-20 19:42:47 +02:00
parent 2b5cc5f260
commit 59f5d9c6e7

View File

@ -107,7 +107,7 @@ export class LoggingBase {
} }
if (this.config.errorfile) { 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.errorStream = f.stream;
this.errorSize = f.size; this.errorSize = f.size;
} }