79749122

Date: 2025-08-28 13:01:36
Score: 2.5
Natty:
Report link

Change the maxHistory from 10 to a big number (eg, set it to 500) and set a value for total-size-cap (eg, 50MB), and when you start up your application, then your application will only keep the last 5 most recent log files (and delete any log files that were created in the last 500 days).

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Alex David