Skip to content

Commit 5b271d9

Browse files
committed
refactor(rosetta): silence the rossetta stdout logs by default, make
this logs with debug level
1 parent 85254d6 commit 5b271d9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

rosetta/rosetta.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,6 @@ func loggerMiddleware(router http.Handler) http.Handler {
131131
r.RequestURI,
132132
time.Since(start),
133133
)
134-
utils.Logger().Info().Msg(msg)
135-
// Print to stdout for quick check of rosetta activity
136-
fmt.Printf("%s %s\n", time.Now().Format("2006-01-02 15:04:05"), msg)
134+
utils.Logger().Debug().Msg(msg)
137135
})
138136
}

0 commit comments

Comments
 (0)