From 40b4032ea065ca70db7da1ac26809cec974810cb Mon Sep 17 00:00:00 2001 From: MartinKoerner <141990+MartinKoerner@users.noreply.github.com> Date: Wed, 22 Apr 2020 11:12:05 +0200 Subject: [PATCH] Add Access log chapter for migration v1->v2 --- docs/content/migration/v1-to-v2.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/content/migration/v1-to-v2.md b/docs/content/migration/v1-to-v2.md index cf2a7594b..68dea0571 100644 --- a/docs/content/migration/v1-to-v2.md +++ b/docs/content/migration/v1-to-v2.md @@ -799,6 +799,13 @@ There is no more log configuration at the root level. --log.format=json ``` +## Access Logs + +Access Logs are configured in the same way as before. + +But all request headers are now filtered out by default in Traefik v2. +So during migration, you might want to consider enabling some needed fields (see [access log configuration](../observability/access-logs.md)). + ## Tracing Traefik v2 retains OpenTracing support. The `backend` root option from the v1 is gone, you just have to set your [tracing configuration](../observability/tracing/overview.md).