Skip to content

Commit

Permalink
Remove extra bogus json field from query log
Browse files Browse the repository at this point in the history
  • Loading branch information
abh committed May 29, 2023
1 parent 63b1969 commit 2edc79e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions querylog/querylog.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type QueryLogger interface {
// easyjson:json
type Entry struct {
Time int64
Hostname string `json:"omitempty"` // not filled in by geodns
Hostname string `json:",omitempty"` // not filled in by geodns
Origin string
Name string
Qtype uint16
Expand All @@ -25,7 +25,7 @@ type Entry struct {
ClientAddr string
HasECS bool

// todo:
// todo:
// - GeoDNS version
// - TCP?
// - log the answer data
Expand Down

0 comments on commit 2edc79e

Please sign in to comment.