arduino-create-agent icon indicating copy to clipboard operation
arduino-create-agent copied to clipboard

Too much log spam

Open ensonic opened this issue 6 years ago • 1 comments

I get tons of messages like:

arduino-create-agent.desktop[1149]: time="2017-12-25T10:20:53+01:00" level=info msg="[]"
arduino-create-agent.desktop[1149]: time="2017-12-25T10:20:53+01:00" level=info msg="<nil>"

The default log level is hardcoded to INFO https://github.com/arduino/arduino-create-agent/blob/devel/main.go#L143

Can this be a config setting and would it maybe make sense to move some to e.g. DEBUG.

ensonic avatar Dec 25 '17 09:12 ensonic

Agree, the log level should be configurable (quiet by default and configurable via a flag). Since we are still under heavy development it's quite handy to have a very verbose log so it becomes easier for the user to file good bugreports.

facchinm avatar Jan 08 '18 11:01 facchinm