netless-io/flat-server

[chore]: delete logs regularly

Open

#385 opened on Jul 27, 2021

View on GitHub
 (0 comments) (0 reactions) (0 assignees)TypeScript (275 forks)auto 404
enhancementgood first issue

Repository metrics

Stars
 (683 stars)
PR merge metrics
 (PR metrics pending)

Description

We currently generate log files automatically, but do not delete them.

This is not very friendly on the server and we should remove them periodically, e.g:

  • Delete logs from a few days ago (default value is 3 days)

And it should be configurable

Contributor guide