Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dnsdist: Add more options to LogAction (non-verbose mode, timestamps) #8411

Merged
merged 1 commit into from Oct 15, 2019

Conversation

@rgacogne
Copy link
Member

@rgacogne rgacogne commented Oct 11, 2019

Short description

  • Adds an option to include timestamps ;
  • and a second one to log to stdout in non-verbose mode ;
  • and the binary format now includes an optional timestamp, the query ID, the qname, the qtype, the source address and port.

This PR also adds a small python snippet to the contrib/ directory to be able to read the binary logs.

Closes #8390.

Checklist

I have:

  • read the CONTRIBUTING.md document
  • compiled this code
  • tested this code
  • included documentation (including possible behaviour changes)
  • documented the code
  • added or modified regression test(s)
  • added or modified unit test(s)
@rgacogne rgacogne added this to the dnsdist-1.4.0 milestone Oct 11, 2019
@rgacogne rgacogne merged commit d323459 into PowerDNS:master Oct 15, 2019
28 checks passed
@rgacogne rgacogne deleted the dnsdist-better-log-action branch Oct 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

1 participant