Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fixing logger issue on rotating log file #859

Merged
merged 2 commits into from Dec 12, 2023

Conversation

b00f
Copy link
Collaborator

@b00f b00f commented Dec 12, 2023

Description

This PR creates one writer when initializing the global logger to prevent the file from being locked by sub-loggers.

Related issue(s)

Copy link

codecov bot commented Dec 12, 2023

Codecov Report

Merging #859 (f2ee4e7) into main (d87c09b) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #859   +/-   ##
=======================================
  Coverage   83.16%   83.16%           
=======================================
  Files         170      170           
  Lines        8552     8554    +2     
=======================================
+ Hits         7112     7114    +2     
  Misses       1100     1100           
  Partials      340      340           

@themantre themantre merged commit dd1a70a into pactus-project:main Dec 12, 2023
12 checks passed
@b00f b00f deleted the fix-logger-issue branch December 13, 2023 05:35
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.

Unable to rotate the log file
2 participants