- Notifications
You must be signed in to change notification settings - Fork845
How to enable debug and html trace
Alexandre Beloin edited this pageDec 14, 2020 ·1 revision
To enable debug in Flaresolverr, 2 environnement variables need to be added/modified:
- LOG_LEVEL=debug
- LOG_HTML=true
N.B.: This is an example to show the location of where to put the variable and shouldn't just be copy/pasted
docker run -d \ --name=flaresolverr \ -e LOG_LEVEL=debug \ -e LOG_HTML=true \ --restart unless-stopped \ ghcr.io/flaresolverr/flaresolverr:latest
SeeDocker's documentation for more information on passing environnement variable
N.B.: This is an example to show the location of where to put the variable and shouldn't just be copy/pasted
---version:"2.1"services:flaresolverr:# DockerHub mirror flaresolverr/flaresolverr:latestimage:ghcr.io/flaresolverr/flaresolverr:latestcontainer_name:flaresolverrenvironment:# Used to change the verbosity of the logging -LOG_LEVEL=debug -LOG_HTML=true# Enables hcaptcha-solver => https://github.com/JimmyLaurent/hcaptcha-solver#- CAPTCHA_SOLVER=hcaptcha-solver# Enables CaptchaHarvester => https://github.com/NoahCardoza/CaptchaHarvester#- CAPTCHA_SOLVER=harvester#- HARVESTER_ENDPOINT=https://127.0.0.1:5000/tokenports: -8191:8191restart:unless-stopped
SeeDocker's Compose documentation for more information on passing environnement variable