From 64705f526318c0f7dfa3cd1cccc1428e5434da3e Mon Sep 17 00:00:00 2001 From: Alexander Morozov Date: Tue, 8 Dec 2015 09:43:49 -0800 Subject: [PATCH] Add buffer size to signal handler log Signed-off-by: Alexander Morozov --- containerd/reap_linux.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/containerd/reap_linux.go b/containerd/reap_linux.go index 33a5447cd..d739287f5 100644 --- a/containerd/reap_linux.go +++ b/containerd/reap_linux.go @@ -14,7 +14,9 @@ import ( ) func startSignalHandler(supervisor *containerd.Supervisor, bufferSize int) { - logrus.Debug("containerd: starting signal handler") + logrus.WithFields(logrus.Fields{ + "bufferSize": bufferSize, + }).Debug("containerd: starting signal handler") signals := make(chan os.Signal, bufferSize) signal.Notify(signals) for s := range signals {