From ee419fae0c789f31a2b41bff0cb24b09e3decb3e Mon Sep 17 00:00:00 2001 From: Vivek Goyal Date: Thu, 2 Apr 2015 16:47:14 -0400 Subject: [PATCH] devicemapper: Remove debug messages from RemoveDevice() devmapper graph driver retries device removal 1000 times in case of failure and if this fills up console with 1000 messages (when daemon is running in debug mode). So remove these debug messages. Signed-off-by: Vivek Goyal --- devicemapper/devmapper.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/devicemapper/devmapper.go b/devicemapper/devmapper.go index e834169..f750319 100644 --- a/devicemapper/devmapper.go +++ b/devicemapper/devmapper.go @@ -349,8 +349,6 @@ func CookieSupported() bool { // Useful helper for cleanup func RemoveDevice(name string) error { - logrus.Debugf("[devmapper] RemoveDevice START(%s)", name) - defer logrus.Debugf("[devmapper] RemoveDevice END(%s)", name) task, err := TaskCreateNamed(DeviceRemove, name) if task == nil { return err