docker logs
Docker containers' logs are not being rotated and in time occupies a lot of space.
It would be nice if there was an option to specify flags like:
--log-driver json-file
--log-opt max-size=50
--log-opt max-file=2
![](https://secure.gravatar.com/avatar/7c873d477235a4f76de13368dc6824d2?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
Thank you for your input. We will consider this functionality in upcoming releases if it is popular. Everyone, please continue voting for this feature if you consider it important.
—
IG
-
Adam Lavery commented
This should not need to be a "popular" request. It's a deficiency that needs fixing. Failing to implement log housekeeping will *always* results in issues down the line. Plesk should have added log rotation with appropriate defaults from the start.
-
Dennis commented
This would be great to have. Got a PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 16384 bytes) because the Docker log was too big for Plesk to parse!