mirror of
https://git.stamm.me/OpenServer/NodeLogging.git
synced 2024-11-22 13:39:24 +00:00
Adding new_file on setup on false on error file
This commit is contained in:
parent
2b5cc5f260
commit
59f5d9c6e7
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user