Not clear how to monitor multiple access logs as documented in Readme (traefik-log-dashboard discussion #41)

:speech_balloon: GitHub discussion traefik-log-dashboard #41 in Help, started by seanob86 on GitHub

In the readme Quick Start it describes how to list multiple paths for monitoring multiple traefik logs via TRAEFIK_LOG_PATH

But it appears that in itself does not monitor the access logs. It’s necessary to specify TRAEFIK_LOG_FILE, however it appears that only a single access log file can be monitored at a time e.g. - TRAEFIK_LOG_FILE=/logs/access.log.
This does not work: TRAEFIK_LOG_FILE=/logs/access.log,/logs/remote-traefik/access.log, neither does this TRAEFIK_LOG_FILE=/logs/*

According to this this feature is somehow supported.

How to monitor all access log files at once e.g.

/logs
- - - - -> access.log
- - - - -> /remote-traefik/
- - - - - - - - - -> access.log

:speech_balloon: Join in here or on GitHub.

seanob86 commented on GitHub:

Under Quick Start the following is mentioned:
Automatically discovers .log files in directories

.env

# Path to your Traefik log file or directory
# Can be a single path or comma-separated list of paths
# Examples:
# - Single file: /path/to/traefik.log
# - Single directory: /path/to/logs/
# - Multiple paths: /path/to/logs1/,/path/to/logs2/,/path/to/specific.log
TRAEFIK_LOG_PATH=/logs/

# Backend API port (optional, default: 3001)
PORT=3001

# Frontend port (optional, default: 3000)
FRONTEND_PORT=3000

docker-compose.yml

services:
  backend:
    image: ghcr.io/hhftechnology/traefik-log-dashboard-backend:latest
    container_name: traefik-dashboard-backend
    restart: unless-stopped
    volumes:
      - /mnt/cache/appdata/traefik/logs:/logs:ro
      - /mnt/cache/appdata/maxmind:/maxmind
    environment:
      #- TRAEFIK_LOG_FILE=/logs/access.log
      - USE_MAXMIND=true
      - MAXMIND_DB_PATH=/maxmind/GeoLite2-City.mmdb
      - MAXMIND_FALLBACK_ONLINE=true
      - GOGC=50
      - GOMEMLIMIT=500MiB
  
  frontend:
    image: ghcr.io/hhftechnology/traefik-log-dashboard-frontend:latest
    container_name: traefik-dashboard-frontend
    restart: unless-stopped
    ports:
      - "3001:80"
    depends_on:
      - backend
    deploy:
      resources:
        limits:
          cpus: '0.5'
          memory: 256M
        reservations:
          cpus: '0.1'
          memory: 64M

I deliberately commented out TRAEFIK_LOG_FILE as readme states discovery of log files is automatic
Inside container file structure of /logs

/logs/traefik.log-2025-08-05.gz
/logs/traefik.log
/logs/access.log-2025-08-05.gz
/logs/traefik-vps-logs/access.log
/logs/traefik-vps-logs/geoblock.log
/logs/traefik-vps-logs/traefik.log
/logs/access.log

docker logs of backend only monitoring traefik.log, despite support for monitoring all .log files
i.e. 2025/08/07 07:17:32 Setting up monitoring for log file(s): [/logs/traefik.log]

2025/08/07 07:17:32 MaxMind database loaded successfully from: /maxmind/GeoLite2-City.mmdb
[GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.

[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
 - using env:   export GIN_MODE=release
 - using code:  gin.SetMode(gin.ReleaseMode)

[GIN-debug] GET    /api/stats                --> main.getStats (4 handlers)
[GIN-debug] GET    /api/logs                 --> main.getLogs (4 handlers)
[GIN-debug] GET    /api/services             --> main.getServices (4 handlers)
[GIN-debug] GET    /api/routers              --> main.getRouters (4 handlers)
2025/08/07 07:17:32 Server running on port 3001
[GIN-debug] GET    /api/geo-stats            --> main.getGeoStats (4 handlers)
[GIN-debug] GET    /api/geo-processing-status --> main.getGeoProcessingStatus (4 handlers)
[GIN-debug] POST   /api/set-log-file         --> main.setLogFile (4 handlers)
[GIN-debug] POST   /api/set-log-files        --> main.setLogFiles …