From a063538ca75a972fe1d23c927be35e6cf0253f75 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Mon, 14 Dec 2020 20:32:32 +0100 Subject: [PATCH] [common] Suppress bothersome log output --- common/utils/uid/uid.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/utils/uid/uid.go b/common/utils/uid/uid.go index e865fcaa4..70936fe18 100644 --- a/common/utils/uid/uid.go +++ b/common/utils/uid/uid.go @@ -71,7 +71,7 @@ func init() { } else { id = "" } - log.Infof("machine UUID: %s generator machine ID: %d", id, machineId) + //log.Infof("machine UUID: %s generator machine ID: %d", id, machineId) uidGen = indigo.New( nil, @@ -103,7 +103,7 @@ func NilID() ID { func New() ID { id, err := uidGen.NextID() if err != nil { - log.Warnf("indigo.NextID() failed with %s, reverting to XID", err) + //log.Warnf("indigo.NextID() failed with %s, reverting to XID", err) return ID(xid.New().String()) } return ID(id)