Skip to content

Commit

Permalink
Debug log entire migration state on every transition
Browse files Browse the repository at this point in the history
  • Loading branch information
rudolf committed Sep 14, 2021
1 parent 052bf5f commit 993f9c0
Show file tree
Hide file tree
Showing 4 changed files with 968 additions and 111 deletions.
6 changes: 4 additions & 2 deletions src/core/server/logging/appenders/file/file_appender.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,10 @@ export class FileAppender implements DisposableAppender {
return resolve();
}

this.outputStream.end(() => {
this.outputStream = undefined;
const outputStream = this.outputStream;
this.outputStream = undefined;

outputStream.end(() => {
resolve();
});
});
Expand Down
Loading

0 comments on commit 993f9c0

Please sign in to comment.