dragonflyoss / Dragonfly

This repository has be archived and moved to the new repository https://github.com/dragonflyoss/Dragonfly2.
https://d7y.io
Apache License 2.0
6k stars 774 forks source link

supernode writes debug logs even if configured with debug: false #1559

Open jayme-github opened 3 years ago

jayme-github commented 3 years ago

Ⅰ. Issue Description

I do see a bunch of loglevel DEBUG logs in app.log, although I have configured debug: false in the supernode config.

Ⅱ. Describe what happened

See above.

Ⅲ. Describe what you expected to happen

Don't log DEBUG messages.

Ⅳ. How to reproduce it (as minimally and precisely as possible)

  1. Set debug: false in supernode config
  2. Pull a file using dfget, curl /metrics, ...

Ⅴ. Anything else we need to know?

Ⅵ. Environment: