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

Replace some prints by log messages #70

Merged
merged 5 commits into from
Apr 16, 2024

Conversation

andywaltlova
Copy link
Collaborator

@andywaltlova andywaltlova commented Mar 18, 2024

HMS-3838
SSIA

Resolves: #49

scripts/c2r_script.py Outdated Show resolved Hide resolved
Copy link

codecov bot commented Mar 18, 2024

Codecov Report

Attention: Patch coverage is 89.18919% with 8 lines in your changes are missing coverage. Please review.

Project coverage is 96.26%. Comparing base (393b9c1) to head (c74d419).

❗ Current head c74d419 differs from pull request most recent head 0b411e1. Consider uploading reports for the commit 0b411e1 to get more accurate results

Files Patch % Lines
scripts/c2r_script.py 89.18% 3 Missing and 5 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #70      +/-   ##
==========================================
- Coverage   98.34%   96.26%   -2.08%     
==========================================
  Files           1        1              
  Lines         302      348      +46     
  Branches       38       44       +6     
==========================================
+ Hits          297      335      +38     
- Misses          0        3       +3     
- Partials        5       10       +5     
Flag Coverage Δ
centos-linux-7 96.26% <89.18%> (-2.08%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@r0x0d r0x0d marked this pull request as ready for review April 4, 2024 17:26
@r0x0d r0x0d force-pushed the feat/logging-levels branch 5 times, most recently from 66fe039 to 178e1f8 Compare April 12, 2024 13:18
scripts/c2r_script.py Outdated Show resolved Hide resolved
andywaltlova and others added 4 commits April 16, 2024 15:29
Now the logs will be written to the log file and also have a link to the
sos report, so when it will be collected, we will have all the logs that
were executed as well.
@andywaltlova
Copy link
Collaborator Author

Adjusted few tests here and there to increase coverage, now just some lines in logging functions are missing

@r0x0d r0x0d merged commit 2f80507 into oamg:main Apr 16, 2024
4 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.

Improve logging in the script
2 participants