Skip to content

IsMultiFile now follows the multiFile argument only (Issue #679) - #693

Merged
Hirogen merged 2 commits into
LogExperts:Developmentfrom
Pr0metheus2:Opening-a-single-log-file-silently-loads-its-rotated-siblings
Aug 25, 2026
Merged

IsMultiFile now follows the multiFile argument only (Issue #679)#693
Hirogen merged 2 commits into
LogExperts:Developmentfrom
Pr0metheus2:Opening-a-single-log-file-silently-loads-its-rotated-siblings

Conversation

@Pr0metheus2

Copy link
Copy Markdown
Contributor

IsMultiFile now follows the multiFile argument only as you suggested:
IsMultiFile = multiFile;

Tested files according description in #679 :
app.log
app.log.1

Tested, passed.

- Exact production fix: IsMultiFile now follows the multiFile argument only.
- Three constructor cases tested:
    - single file + false stays single-file
    - single file + true expands rollover siblings
    - array constructor remains multi-file

- Monitoring truncation test confirms a single-file reader reports NewFile, not rollover.

- Existing BufferShiftTest was left unchanged and run.
- git diff --check reports no whitespace errors.
Comment thread src/LogExpert.Tests/Buffers/LogfileReaderSingleFileMonitoringTests.cs Outdated
@Pr0metheus2

Copy link
Copy Markdown
Contributor Author

Check please

@Hirogen
Hirogen merged commit d916d8f into LogExperts:Development Aug 25, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants