News for hackers. Stuff that matters.
Re:Eris – A better way to handle, trace, and log errors in Go by EdwardDiego on Wednesday December 25, 2019 @11:38PM (#21882050)
What surprises me as a primarily JVM developer now supporting Go apps and dabbling in Go development is that the logging libraries (like klog) I've encountered don't support the level of configuration I'm used to in JVM apps. I miss being able to configure individual loggers at desired levels with a logback.xml in the JAR, but especially the ability to change logging levels at runtime.

I guess it's part of the Go philosophy - more dynamic logging would most likely incur relatively higher performance costs.

Re:Eris – A better way to handle, trace, and log errors in Go by alaties on Thursday December 26, 2019 @01:15AM (#21882300)
You might wanna look at using something like zap instead, as it enables you to do runtime loglevel changes...
Re:Eris – A better way to handle, trace, and log errors in Go by EdwardDiego on Thursday December 26, 2019 @03:17AM (#21882590)
Cheers for my development, I'll do that :)