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

ProxyProtocol connection debug messages have level "info" #5697

Closed
Owersun opened this issue Oct 21, 2019 · 1 comment
Closed

ProxyProtocol connection debug messages have level "info" #5697

Owersun opened this issue Oct 21, 2019 · 1 comment
Labels
area/logs kind/enhancement a new or improved feature. priority/P2 need to be fixed in the future status/5-frozen-due-to-age
Milestone

Comments

@Owersun
Copy link

Owersun commented Oct 21, 2019

Do you want to request a feature or report a bug?

Bug

What did you do?

Enabled ProxyProtocol in traefik and pointed external HAProxy to it

What did you expect to see?

Log with requests with external IP's

What did you see instead?

Four lines per request, one line of actual request logged and three debug lines of level "info":

time="2019-10-21T15:52:04Z" level=info msg="Trusted connection" entryPointName=http
time="2019-10-21T15:52:04Z" level=info msg="Use header remote addr" entryPointName=http
time="2019-10-21T15:52:04Z" level=info msg="Header parsed &{10.135.67.18:37306 10.135.77.105:80}" entryPointName=http
10.135.67.18 - - [21/Oct/2019:15:52:04 +0000] "GET / HTTP/1.0" - - "-" "-" 132 - - 0ms

Output of traefik version: (What version of Traefik are you using?)

Version:      2.0.2
Codename:     montdor
Go version:   go1.13.1
Built:        2019-10-09T19:26:05Z
OS/Arch:      linux/amd64

What is your environment & configuration (arguments, toml, provider, platform, ...)?

    entryPoints:
      http:
        address: ':80'
        proxyProtocol:
          trustedIPs:
            - 10.0.0.0/8
    log:
      level: INFO
@Owersun Owersun changed the title ProxyProtocol connection debug message have level "info" ProxyProtocol connection debug messages have level "info" Oct 21, 2019
@dduportal dduportal added kind/enhancement a new or improved feature. priority/P2 need to be fixed in the future area/logs and removed status/0-needs-triage labels Oct 22, 2019
@traefiker traefiker added this to the 2.0 milestone Oct 24, 2019
@traefiker
Copy link
Contributor

Closed by #5712.

@traefik traefik locked and limited conversation to collaborators Nov 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/logs kind/enhancement a new or improved feature. priority/P2 need to be fixed in the future status/5-frozen-due-to-age
Projects
None yet
Development

No branches or pull requests

3 participants