Closed varnitsaini closed 6 years ago
Hi @varnitsaini
in general you can use logrotate to achieve this. This has the advantage that you don't need to change anything in your supervisord
configuration. You just configure logrotate
to handle the log file.
supervisord
also has an option to rotate the log files it creates. Maybe you can set this option in a system-wide configuration. This bundle has no configuration for this at the moment.
For the logs that are generated how can i log rotate, limiting the rotated files by specific amount(eg maximum 5 files) and size for each file?