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

Fixed #83 implemented more careful log handling #84

Merged
merged 2 commits into from
Mar 18, 2024

Conversation

baubakg
Copy link
Member

@baubakg baubakg commented Mar 18, 2024

This is related to issue #83 and we change the logs:

The logs are by default deleted after a certain time. In production, we have opted for the following rules:

  • They are stored in the directory 'ibs_output'
  • When the size becomes larger than 50MB, we archive the contents to a zip file
  • The zip files are deleted on a regular basis based on the following rules:
    • The files exceed 3GB
    • The files are more than 10 days old.

The logs are by default deleted after a certain time. In test, we have opted for the following rules:

  • They are stored in the directory 'ibstest_output'
  • When the size becomes larger than 5MB, we archive the contents to a zip file
  • The zip files are deleted on a regular basis based on the following rules:
    • The files exceed 50MB
    • The files are more than 90 days old.

@baubakg baubakg linked an issue Mar 18, 2024 that may be closed by this pull request
Copy link

codecov bot commented Mar 18, 2024

Codecov Report

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

Project coverage is 89.38%. Comparing base (29ab2e8) to head (43ad73d).

Files Patch % Lines
...tests/bridge/service/IntegroBridgeClassLoader.java 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##               main      #84   +/-   ##
=========================================
  Coverage     89.38%   89.38%           
  Complexity      218      218           
=========================================
  Files            23       23           
  Lines           584      584           
  Branches         56       56           
=========================================
  Hits            522      522           
  Misses           47       47           
  Partials         15       15           

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

Copy link

@baubakg baubakg merged commit 76469c3 into main Mar 18, 2024
7 of 8 checks passed
@baubakg baubakg deleted the 83-solve-issue-with-huge-log-files branch March 18, 2024 16:20
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.

Solve issue with huge log files
1 participant