kartoza / prj.app

A django app for creating visual changelogs for software releases
30 stars 32 forks source link

Reduce logging file size in docker containers #1384

Closed sumandari closed 2 years ago

sumandari commented 2 years ago

Please see #1369

Problem: logging files have big filesize json

e.g:

-rw-r----- 1 root root 1.3G Jan  2 06:08 [#####]/e95bb7b21a91a9aa5db9c6330a8e52b93ca00f13904d31fc261362bcbbf3bbff-json.log
-rw-r----- 1 root root 909M Jan  2 06:08 [#####]/c04d57da8655a21080667e9ddfee5e40775d1d7e3da6a519c9516254118a5343-json.log

Proposed solution: Reduce the container log to avoid running out of disk space.

codecov[bot] commented 2 years ago

Codecov Report

Merging #1384 (ed8f823) into develop (44a9d23) will increase coverage by 0.09%. The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1384      +/-   ##
===========================================
+ Coverage    64.29%   64.38%   +0.09%     
===========================================
  Files          180      180              
  Lines         9664     9702      +38     
  Branches       758     1232     +474     
===========================================
+ Hits          6213     6247      +34     
+ Misses        3207     3206       -1     
- Partials       244      249       +5     
Impacted Files Coverage Δ
django_project/lesson/views/worksheet.py 70.89% <0.00%> (-0.34%) :arrow_down:
django_project/lesson/urls.py 86.66% <0.00%> (ø)
django_project/lesson/views/further_reading.py 69.13% <0.00%> (+2.46%) :arrow_up:
...ct/certification/models/certifying_organisation.py 96.25% <0.00%> (+2.50%) :arrow_up:
django_project/changes/models/sponsor.py 91.35% <0.00%> (+4.93%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 44a9d23...ed8f823. Read the comment docs.

dimasciput commented 2 years ago

LGTM