This repository has been archived by the owner on Feb 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 445
output/log which containers and images have been deleted #55
Comments
+1 |
1 similar comment
+1 |
Would a simple |
Closed
mattnworb
pushed a commit
to mattnworb/docker-gc
that referenced
this issue
Nov 4, 2015
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
mattnworb
added a commit
to mattnworb/docker-gc
that referenced
this issue
Nov 4, 2015
Send log messages to syslog so that the log files can be properly rolled over, split by level/facility, etc. Facility and level can be configured with $SYSLOG_FACILITY and $SYSLOG_LEVEL respectively. Closes spotify#55 and replaces spotify#56. Thanks @konstruktoid!
mattnworb
pushed a commit
to mattnworb/docker-gc
that referenced
this issue
Nov 5, 2015
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
mattnworb
added a commit
to mattnworb/docker-gc
that referenced
this issue
Nov 5, 2015
Send log messages to syslog so that the log files can be properly rolled over, split by level/facility, etc. Facility and level can be configured with $SYSLOG_FACILITY and $SYSLOG_LEVEL respectively. Closes spotify#55 and replaces spotify#56. Thanks @konstruktoid!
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It would be nice if the script could output in some capacity what it had removed, to be able to trace back issues where an image/container was unexpectedly removed from a host.
The current version of the script keeps some output of what it has done in the "state directory" but this is overwritten each time the script is re-run.
For instance, I would like to be able to check /var/log/cron.log to see that docker-gc deleted image 123456 three hours ago, even if I have run the script 10 times more since then.
The text was updated successfully, but these errors were encountered: