Replies: 2 comments
|
Did you have any luck figuring this out? |
0 replies
|
if you aren't using a remote logger then i recommend setting the following in your daemon.json file {
"log-driver": "json-file",
"log-opts": {
"max-size": "10m",
"max-file": "3"
}
}restart the daemon, and any new containers created will now rotate their log files, existing containers will need to be recreated in order for this to take effect https://docs.docker.com/engine/logging/drivers/json-file/#usage |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi all,
My postgres db for komodo has grown into 150 mb. Yes, in the grand scheme of things, this is not much, I would however love to create an action for cleaning up old log entries, which could run as a maintenance job. Delete everything older than eg 30 days or so.
I have been looking in the docs.rs files, and it does not seem this is possible with this approach.
Looking into the database itself, I am not experienced in ferretdb, so I am not certain what I can remove.
Finally I asked chatgpt, but got no immediately usefull answer...
Anybody knows how to do this?
All reactions