Skip to content

Fix bad access log#2682

Merged
traefiker merged 5 commits intotraefik:masterfrom
mmatur:improve-access-log
Jan 11, 2018
Merged

Fix bad access log#2682
traefiker merged 5 commits intotraefik:masterfrom
mmatur:improve-access-log

Conversation

@mmatur
Copy link
Member

@mmatur mmatur commented Jan 9, 2018

What does this PR do?

This PR fix two issues:

  • bad access log when Træfik throw an error
  • missing quotes on referrer and user-agent fields

Motivation

Fixes #2649 #2565

More

  • Added/updated tests

Copy link
Contributor

@nmengin nmengin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👏 🗞️

Copy link
Member

@juliens juliens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure about this file ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[web] is deprecated

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[web] is deprecated

@mmatur mmatur force-pushed the improve-access-log branch from 1683798 to ed1174a Compare January 10, 2018 17:40
Copy link
Contributor

@ldez ldez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@juliens juliens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing quotes arround the Referer field in access logs

5 participants