You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently Cortex do not limit application.log file size, so it can became really huge, causing Cortex to freeze when no free space left (this is especially a Docker version problem).
Yes, this is valid for both Cortex and TheHive. The default logback.xml file we ship with the packages doesn't enable log rotation, we should probably add a section about this on the FAQ.
what if I want to only rotate the logs only after it reaches a certain size let say 5MB and it gets saved in archive directory and again it starts rotating the logs
Rotate logs
Request Type
Feature Request
Problem Description
Hey there,
Currently Cortex do not limit
application.log
file size, so it can became really huge, causing Cortex to freeze when no free space left (this is especially a Docker version problem).Possible Solutions
This is the solution that I came so far, inspired by the following gist: https://gist.github.com/jcraane/5921329
It will rotate log every day and set the maximum size of it to 10MB. Max history time is set to 30 days.
What do you think?
The text was updated successfully, but these errors were encountered: