Accesslog no on default format

Hi
I just enable acces log on my traffic instance to parce this one with crowdsec
but I just notice that my log are not at the default format I have

10.0.0.2 - - [26/May/2022:08:30:21 +0000] "GET /metrics HTTP/1.1" 200 3960 "-" "-" 1849 "prometheus@internal" "-" 2ms
114.119.150.127 - - [26/May/2022:08:30:21 +0000] "GET /vincent/notebook/raw/commit/dccc57338e7e2d8898c14868b7262420bcbaa531/IT/SQL/SCRIPTS%20SQL%20QSA%20ORSYS/Reconfiuration%20instance%20SQL.sql HTTP/1.1" 200 370 "-" "-" 1850 "git@consulcatalog" "http://192.168.1.40:22017" 104ms
192.168.1.15 - - [26/May/2022:08:30:23 +0000] "GET /api/overview HTTP/1.1" 200 516 "-" "-" 1851 "api@internal" "-" 0ms
114.119.150.120 - - [26/May/2022:08:30:26 +0000] "GET /github/supysonic/blame/commit/8f7309b0bf9afcf948b277fbfa2c5728c352864c/api/media.py HTTP/1.1" 200 288931 "-" "-" 1852 "git@consulcatalog" "http://192.168.1.40:22017" 1025ms
192.168.1.15 - - [26/May/2022:08:30:28 +0000] "GET /api/overview HTTP/1.1" 200 516 "-" "-" 1853 "api@internal" "-" 0ms
10.0.0.2 - - [26/May/2022:08:30:31 +0000] "GET /metrics HTTP/1.1" 200 3955 "-" "-" 1854 "prometheus@internal" "-" 2ms
192.168.1.15 - - [26/May/2022:08:30:33 +0000] "GET /api/overview HTTP/1.1" 200 516 "-" "-" 1855 "api@internal" "-" 0ms
192.168.1.15 - - [26/May/2022:08:30:38 +0000] "GET /api/overview HTTP/1.1" 200 516 "-" "-" 1856 "api@internal" "-" 0ms
10.0.0.2 - - [26/May/2022:08:30:41 +0000] "GET /metrics HTTP/1.1" 200 3956 "-" "-" 1857 "prometheus@internal" "-" 2ms

expected format in documentation is

<remote_IP_address> - <client_user_name_if_available> [<timestamp>] "<request_method> <request_path> <request_protocol>" <origin_server_HTTP_status> <origin_server_content_size> "<request_referrer>" "<request_user_agent>" <number_of_requests_received_since_Traefik_started> "<Traefik_router_name>" "<Traefik_server_URL>" <request_duration_in_ms>ms

I don't understant I have a lot of "-" in separator in my log

here my consul configuration

        [entryPoints]
          [entryPoints.web]
            address = ":80"
            [entryPoints.web.http]
              [entryPoints.web.http.redirections]
                [entryPoints.web.http.redirections.entryPoint]
                  to = "websecure"
                  scheme = "https"
          [entryPoints.websecure]
            address = ":443"
          [entryPoints.traefik]
            address = ":9080"
        [http.middlewares]
          [http.middlewares.https-redirect.redirectscheme]
            scheme = "https"
        [providers.consulCatalog]
          exposedByDefault = false
          [providers.consulCatalog.endpoint]
            address = "10.0.0.1:8500"
        [log]
        [accessLog]
        [api]
          dashboard = true
          insecure = true
        [ping]
        [certificatesResolvers.myresolver.acme]
        email = "vincent@ducamps.win"
        storage = "acme.json"
        [certificatesResolvers.myresolver.acme.httpChallenge]
        entryPoint= "web"
        [metrics]
          [metrics.prometheus]

Hi @vincentDcmps,
Thanks for your interest in Traefik.

The dash - is the default value when the field is empty.

In the Traefik code, the format is written as the following, where const defaultValue = "-" :

fmt.Fprintf(b, "%s - %s [%s] \"%s %s %s\" %v %v %s %s %v %s %s %dms\n",
		toLog(entry.Data, ClientHost, defaultValue, false),
		toLog(entry.Data, ClientUsername, defaultValue, false),
		timestamp,
		toLog(entry.Data, RequestMethod, defaultValue, false),
		toLog(entry.Data, RequestPath, defaultValue, false),
		toLog(entry.Data, RequestProtocol, defaultValue, false),
		toLog(entry.Data, OriginStatus, defaultValue, true),
		toLog(entry.Data, OriginContentSize, defaultValue, true),
		toLog(entry.Data, "request_Referer", `"-"`, true),
		toLog(entry.Data, "request_User-Agent", `"-"`, true),
		toLog(entry.Data, RequestCount, defaultValue, true),
		toLog(entry.Data, RouterName, `"-"`, true),
		toLog(entry.Data, ServiceURL, `"-"`, true),
		elapsedMillis)