File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public TextWriter CreateLog(M.IMigrationApplication info)
4949 var database = info . Target . DatabaseDisplayName ;
5050 var fileName = $ "{ server } .{ database } .{ ( int ) phase } _{ phase } .log". SanitizeFileName ( ) ;
5151
52- return new StreamWriter ( Path . Combine ( logPath , fileName ) ) ;
52+ return new StreamWriter ( Path . Combine ( logPath , fileName ) ) { AutoFlush = true } ;
5353 }
5454
5555 /// <inheritdoc/>
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ public TextWriter CreateLog(S.ISeedApplication info)
5050 var fileName = $ "{ target } .{ seed } .log". SanitizeFileName ( ) ;
5151
5252 return TextWriter . Synchronized (
53- new StreamWriter ( Path . Combine ( _logPath , fileName ) )
53+ new StreamWriter ( Path . Combine ( _logPath , fileName ) ) { AutoFlush = true }
5454 ) ;
5555 }
5656
You can’t perform that action at this time.
0 commit comments