From 5e088ee4dc4a3cca77f2f98ec2eb74c15dc521ae Mon Sep 17 00:00:00 2001 From: HuKeping Date: Tue, 2 Feb 2016 20:02:08 +0800 Subject: [PATCH] Stop logging out critical info of database The signer will print out the user name and password of the database which could cause security problem. The server side is OK. Signed-off-by: Hu Keping --- cmd/notary-signer/main.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/notary-signer/main.go b/cmd/notary-signer/main.go index ffd104c26f..fa358da71c 100644 --- a/cmd/notary-signer/main.go +++ b/cmd/notary-signer/main.go @@ -104,7 +104,6 @@ func setUpCryptoservices(configuration *viper.Viper, allowedBackends []string) ( if err != nil { return nil, fmt.Errorf("failed to create a new keydbstore: %v", err) } - logrus.Debugf("Using %s DB: %s", storeConfig.Backend, storeConfig.Source) health.RegisterPeriodicFunc( "DB operational", dbStore.HealthCheck, time.Second*60)