brave-intl / bat-go

Pass "go", collect 200 BAT
Mozilla Public License 2.0
41 stars 31 forks source link

Improve `cmd` logging #2085

Open evq opened 8 months ago

evq commented 8 months ago

It's not obvious from the logs when we skip add to prepare stream, as it doesn't use the normal logger ( zerolog ). We should fix that and make it a warning maybe

6:42PM INF ping success, redis client connected
2023/10/10 18:42:08 not first run, skipping add to prepare stream
Sneagan commented 2 months ago

Pull this logger out and replace it with the appCtx logger. Do this for the rest of the cmds as well.