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

agent: route http logs through hclog #7748

Merged
merged 2 commits into from
Apr 20, 2020
Merged

agent: route http logs through hclog #7748

merged 2 commits into from
Apr 20, 2020

Commits on Apr 20, 2020

  1. agent: route http logs through hclog

    Pipe http server log to hclog, so that it uses the same logging format
    as rest of nomad logs.  Also, supports emitting them as json logs, when
    json formatting is set.
    
    The http server logs are emitted as Trace level, as they are typically
    repsent HTTP client errors (e.g. failed tls handshakes, invalid headers,
    etc).
    
    Though, Panic logs represent server errors and are relayed as Error
    level.
    Mahmood Ali committed Apr 20, 2020
    Configuration menu
    Copy the full SHA
    360e0a1 View commit details
    Browse the repository at this point in the history
  2. update changelog

    [ci skip]
    Mahmood Ali committed Apr 20, 2020
    Configuration menu
    Copy the full SHA
    5a5354a View commit details
    Browse the repository at this point in the history