Packet-Clearing-House / DNSAuth

Go-lang app to aggregate DNS queries to 1 minute buckets and write them to influxdb
MIT License
2 stars 2 forks source link

time formatting off in logs, need rounding #18

Open mrjones-plip opened 6 years ago

mrjones-plip commented 6 years ago

Some times I see log entries like this:

Processed dump [mon-01-abc](2018-08-01 20:35:00 +0000 UTC - 2018-08-01 20:37:59.243568+0000 UTC): 786155 lines in (1m22.55102154s) seconds!

We should:

  1. not have seconds accuracy to 8 decimal positions, two will suffice ;)
  2. remove the parentheses around the time
  3. remove the word "seconds" as it is often wrong, like in this case