Skip to content

Commit

Permalink
tweak some helper logs (debug by default)
Browse files Browse the repository at this point in the history
  • Loading branch information
ember arlynx committed Sep 16, 2020
1 parent 6f84f89 commit 339b39e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/libp2p_helper/src/libp2p_helper/main.go
Expand Up @@ -1046,7 +1046,7 @@ func main() {
Format: logging.JSONOutput,
Stderr: true,
Stdout: false,
Level: logging.LevelInfo,
Level: logging.LevelDebug,
File: "",
})
helperLog := logging.Logger("helper top-level JSON handling")
Expand Down Expand Up @@ -1111,7 +1111,7 @@ func main() {

for lines.Scan() {
line = lines.Text()
helperLog.Infof("message size is %d", len(line))
helperLog.Debugf("message size is %d", len(line))
var raw json.RawMessage
env := envelope{
Body: &raw,
Expand Down

0 comments on commit 339b39e

Please sign in to comment.