Skip to content

Commit

Permalink
Bug fixes to v1.1
Browse files Browse the repository at this point in the history
- logging directory issue
- license validation issue
  • Loading branch information
HermanSchoenfeld committed Mar 2, 2024
1 parent 50fa8eb commit bd794db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Hydrogen/Logging/RollingFileLogger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public void Dispose() {
}

private void OpenLogFile(string logFilePath, Encoding encoding) {
_textWriter = new FileAppendTextWriter(logFilePath, encoding, false);
_textWriter = new FileAppendTextWriter(logFilePath, encoding, true);
_currentFileSizeBytes = File.Exists(logFilePath) ? (int)Tools.FileSystem.GetFileSize(logFilePath) : 0;
if (_currentFileSizeBytes > _effectiveMaxSize)
ArchiveLogFile();
Expand Down

0 comments on commit bd794db

Please sign in to comment.