YangCatalog / backend

YANG Catalog's REST API and internal module processing pipeline
https://yangcatalog.org
Apache License 2.0
2 stars 11 forks source link

chore: reduce log pollution and increase retention period #791

Closed richardzilincikPantheon closed 1 year ago

richardzilincikPantheon commented 1 year ago

Removed the most noisy and least useful log messages, filter out healcheck pings from logging, change log rotation to weekly with retention for a year.

codecov[bot] commented 1 year ago

Codecov Report

Merging #791 (cfabf47) into develop (62fb5ed) will decrease coverage by 0.05%. The diff coverage is 28.57%.

:exclamation: Current head cfabf47 differs from pull request most recent head f3dd951. Consider uploading reports for the commit f3dd951 to get more accurate results

@@             Coverage Diff             @@
##           develop     #791      +/-   ##
===========================================
- Coverage    77.73%   77.69%   -0.05%     
===========================================
  Files          110      110              
  Lines        11394    11378      -16     
===========================================
- Hits          8857     8840      -17     
- Misses        2537     2538       +1     
Impacted Files Coverage Δ
api/views/health_check.py 21.48% <ø> (+0.26%) :arrow_up:
api/views/yang_search/yang_search.py 14.28% <0.00%> (+0.02%) :arrow_up:
parseAndPopulate/resolvers/generated_from.py 100.00% <ø> (ø)
parseAndPopulate/resolvers/module_type.py 89.47% <ø> (-0.53%) :arrow_down:
parseAndPopulate/resolvers/organization.py 84.37% <ø> (-0.48%) :arrow_down:
parseAndPopulate/resolvers/semantic_version.py 100.00% <ø> (ø)
parseAndPopulate/resolvers/submodule.py 100.00% <ø> (ø)
parseAndPopulate/resolvers/yang_version.py 100.00% <ø> (ø)
parseAndPopulate/resolvers/prefix.py 92.68% <50.00%> (-0.35%) :arrow_down:
parseAndPopulate/resolvers/namespace.py 92.68% <75.00%> (-0.35%) :arrow_down:
... and 2 more

... and 1 file with indirect coverage changes