Skip to content

fix: only logging when level permits it on Windows#569

Open
Piloalucard wants to merge 1 commit intoLinearTapeFileSystem:v2.4.8-windows-supportfrom
Piloalucard:fix/windows-logging-system
Open

fix: only logging when level permits it on Windows#569
Piloalucard wants to merge 1 commit intoLinearTapeFileSystem:v2.4.8-windows-supportfrom
Piloalucard:fix/windows-logging-system

Conversation

@Piloalucard
Copy link
Member

@Piloalucard Piloalucard commented Feb 6, 2026

Summary of changes

This pull request includes following changes or fixes.

Description

On Windows platform, logs of LTFS were not properly set up, every message is logged causing a performance issue when using LTFS with logs enabled. To fix this, a conditional was added to log only messages permitted by the log level set.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have confirmed my fix is effective or that my feature works

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.

1 participant