Browse Source

Logging of signals

master
Chris Smith 5 years ago
parent
commit
004096f629
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      dotege.go

+ 1
- 0
dotege.go View File

@@ -223,6 +223,7 @@ func signalContainer() {
223 223
 	for _, s := range config.Signals {
224 224
 		container, ok := containers[s.Name]
225 225
 		if ok {
226
+			logger.Debugf("Killing container %s with signal %s", s.Name, s.Signal)
226 227
 			err := dockerClient.ContainerKill(context.Background(), container.Id, s.Signal)
227 228
 			if err != nil {
228 229
 				logger.Errorf("Unable to send signal %s to container %s: %s", s.Signal, s.Name, err.Error())

Loading…
Cancel
Save