Skip to content

Fix _default_name for compressed files #1383

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

Merged
merged 3 commits into from
Aug 28, 2022

Conversation

j-c-cook
Copy link
Contributor

Previously the compressed SizedRotatingLogger created files such as: file.log_2022-08-27T111103_#000.gz

Given the changes in 115f3de, zipped file names are supported: file_2022-08-27T112545_#000.log.gz

closes #1382

@j-c-cook
Copy link
Contributor Author

@zariiii9003 This is ready for review.

@codecov
Copy link

codecov bot commented Aug 27, 2022

Codecov Report

Merging #1383 (5002676) into develop (2da28c1) will increase coverage by 0.04%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #1383      +/-   ##
===========================================
+ Coverage    66.21%   66.25%   +0.04%     
===========================================
  Files           86       86              
  Lines         9021     9021              
===========================================
+ Hits          5973     5977       +4     
+ Misses        3048     3044       -4     

Copy link
Collaborator

@zariiii9003 zariiii9003 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch

@zariiii9003 zariiii9003 merged commit 9d9cb16 into hardbyte:develop Aug 28, 2022
@j-c-cook
Copy link
Contributor Author

Thank you

j-c-cook added a commit to j-c-cook/python-can that referenced this pull request Nov 11, 2022
j-c-cook added a commit to j-c-cook/python-can that referenced this pull request Dec 28, 2022
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.

Compressed SizedRotatingLogger creates files LogReader deems an unknown format
2 participants