From 371b5ca6a2115d88fa5fe5f21f8d9624c65a766e Mon Sep 17 00:00:00 2001 From: Arceliar Date: Thu, 28 Feb 2019 18:49:34 -0600 Subject: [PATCH] Change log message about AllowedEncryptionPublicKeys from Debug to Warn --- src/yggdrasil/link.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yggdrasil/link.go b/src/yggdrasil/link.go index 06020cd7..6fc7687b 100644 --- a/src/yggdrasil/link.go +++ b/src/yggdrasil/link.go @@ -116,7 +116,7 @@ func (intf *linkInterface) handler() error { } // Check if we're authorized to connect to this key / IP if !intf.incoming && !intf.force && !intf.link.core.peers.isAllowedEncryptionPublicKey(&meta.box) { - intf.link.core.log.Debugf("%s connection to %s forbidden: AllowedEncryptionPublicKeys does not contain key %s", + intf.link.core.log.Warnf("%s connection to %s forbidden: AllowedEncryptionPublicKeys does not contain key %s", strings.ToUpper(intf.info.linkType), intf.info.remote, hex.EncodeToString(meta.box[:])) intf.msgIO.close() return nil