mirror of
https://github.com/abh/geodns.git
synced 2026-04-27 03:45:53 +03:00
[GH-ISSUE #57] Metrics spam in console #44
Labels
No labels
bug
bug
enhancement
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/geodns#44
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Doridian on GitHub (Aug 4, 2014).
Original GitHub issue: https://github.com/abh/geodns/issues/57
I keep getting spam like this in console (no queries are happening at all). It just keeps spamming so fast it is impossible to even read anything. Is there any way I could disable those messages?
Go version is "go version go1.3 linux/amd64", I installed geodns with "go get github.com/abh/geodns"
@abh commented on GitHub (Aug 4, 2014):
Hi @Doridian -- yeah, it should be an option and probably default to false. I was doing some work recently cleaning up the logging and statistics stuff. This particular bit is from a long time ago. You can disable it by changing "true" to "false" on this line in geodns.go (line 138 or close to it):
and then compile again with "go build" (or "go install").
@abh commented on GitHub (Aug 4, 2014):
If you go
/statuson the HTTP port it'll show the same statistics in a more digestible format.