How to send log level in docker-compose.yml for 2.0 keep getting error for --logLevel=ERROR

2019/11/30 02:34:05 command traefik error: failed to decode configuration from flags: field not found, node: logLevel

version: '3'

services:
  reverse-proxy:
    container_name: traefik
    # The official v2.0 Traefik docker image
    image: traefik:v2.0
    # Enables the web UI and tells Traefik to listen to docker
    command:
    - "--api=true"
    - "--api.dashboard=true"
    - --providers.docker
    - --logLevel=ERROR
    ports:
      # The HTTP port
      - "443:443"
      - "80:80"
      # The Web UI (enabled by --api.insecure=true)
      - "8080:8080"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      # - ./acme.json:/acme.json
    labels:
      - traefik.http.routers.traefik.rule=Host(`xyz.domain.com`)

the answer is

- --log.level=ERROR