logger: fix stream.
This commit is contained in:
parent
e712b27ee9
commit
48399bb0cb
@ -349,15 +349,15 @@ Logger.prototype.getStream = function getStream() {
|
||||
if (this.closed)
|
||||
return;
|
||||
|
||||
if (this.stream)
|
||||
return this.stream;
|
||||
|
||||
if (!this.filename)
|
||||
return;
|
||||
|
||||
if (fs.unsupported)
|
||||
return;
|
||||
|
||||
if (this.stream)
|
||||
return this.stream;
|
||||
|
||||
if (this.lastFail > util.now() - 10)
|
||||
return;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user