-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Log rotation #273
Comments
I'm a bit confused -- from what I read in https://ghost.org/docs/config/#logging, log rotation should be already enabled by default? Did you customize the logging configuration? |
That's the thing — I have not, so it should work. However, the actual outcome was a single file of 3.4G that has eaten up volume space.
|
Yeah, I posted about this a while back on the Ghost forums. Ghost's default configuration is definitely broken, even on a local install. If you want to fix this temporarily, you can see how I fixed it here: Currently, I'm busy, but I can look into patching this myself in the image later. |
This is managed by the config file when you start ghost. Per example - https://github.com/firepress-org/ghostfire/blob/master/config.production.json#L25 |
Hi,
It would be great to have logrotate preconfigured, since
/var/lib/ghost/content/logs
folder is ever-growing. That cause issues when deploying to k8s, since pod would eventually crash:The text was updated successfully, but these errors were encountered: