From d4ef1561d4ed18f3d12190840cd89f8737e97b21 Mon Sep 17 00:00:00 2001 From: Farhan Khan Date: Sat, 13 Feb 2021 02:45:24 +0000 Subject: [PATCH] log messages moved to logConn --- fedilogue/ctl.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fedilogue/ctl.go b/fedilogue/ctl.go index f8415be..f9a7af8 100644 --- a/fedilogue/ctl.go +++ b/fedilogue/ctl.go @@ -67,11 +67,11 @@ func handleClient(commandClient net.Conn) { case "status": responseback.Message = "Ok" case "add": - logInfo("Manually added instance: " + commandmap.Endpoint) + logConn("Manually added instance: " + commandmap.Endpoint) ri_mutex.Lock() _, exists := runninginstances[commandmap.Endpoint] if exists == true { - logInfo("Already exists: " + commandmap.Endpoint) + logConn("Already exists: " + commandmap.Endpoint) responseback.Message = "Exists: " + commandmap.Endpoint } else { responseback.Message = "Adding: " + commandmap.Endpoint