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

Tweak logging. Add timezone, use everywhere. #402

Merged
merged 1 commit into from
Dec 19, 2018
Merged

Commits on Dec 19, 2018

  1. Tweak logging. Add timezone, use everywhere.

    - Use logger for all warnings. Previously we were writing warnings from
    cmd/server.go directly to stderr which bypassed our normal log format.
    - Add the timezone to log output. This is just really nice to have if
    you're looking at old logs.
    - Change levels to all be 4 characters: DBUG, INFO, WARN, EROR. This
    makes the logs easier to read because it lines up.
    - Log when we first receive the request as well as when we send a
    response. This makes it easier to see where the request starts and ends.
    lkysow committed Dec 19, 2018
    Configuration menu
    Copy the full SHA
    c4f8995 View commit details
    Browse the repository at this point in the history