mirror of
https://git.hibas.dev/OpenServer/NodeLogging.git
synced 2025-06-30 20:21:06 +00:00
Adding new_file on setup on false on error file
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user