Skip to content

Commit

Permalink
[common] Suppress bothersome log output
Browse files Browse the repository at this point in the history
  • Loading branch information
teo committed Jan 6, 2021
1 parent 2404622 commit a063538
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/utils/uid/uid.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func init() {
} else {
id = "<not available>"
}
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,
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit a063538

Please sign in to comment.