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

4.1 polish: Add log-timestamp option #5842

Merged
merged 1 commit into from Oct 26, 2017

Conversation

Projects
None yet
3 participants
@pieterlexis
Member

pieterlexis commented Oct 25, 2017

Short description

This option can be used to disable printing timestamps to stdout, this is useful when using systemd-journald or another supervisor that timestamps stdout by itself. As the logs will not have 2 timestamps.

Checklist

I have:

  • read the CONTRIBUTING.md document
  • compiled and tested this code
  • included documentation (including possible behaviour changes)
  • documented the code
  • added or modified regression test(s)
  • added or modified unit test(s)

@pieterlexis pieterlexis requested a review from Habbie Oct 25, 2017

Show outdated Hide outdated pdns/logger.cc Outdated
Add log-timestamp option
This option can be used to disable printing timestamps to stdout, this
is useful when using systemd-journald or another supervisor that
timestamps stdout by itself. As the logs will not have 2 timestamps.

@aerique aerique added this to the rec-4.1.0 milestone Oct 25, 2017

@aerique aerique merged commit 329f2fc into PowerDNS:master Oct 26, 2017

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@pieterlexis pieterlexis deleted the pieterlexis:log-timestamps branch Oct 26, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment