Syméon del Marmol
10/23/2025, 8:36 AMConcurrency limits ['tag:<my-tag>'] do not exist - skipping acquisition. I didn't set concurrency limit for these tags, I use them of another purpose. How can I avoid Prefect to log that warning ?Marvin
10/23/2025, 8:36 AMMarvin
10/23/2025, 8:40 AMversion: 1
disable_existing_loggers: false
loggers:
prefect.concurrency:
level: ERROR
propagate: true
prefect.concurrency.v1:
level: ERROR
propagate: true
prefect.concurrency.v1.services:
level: ERROR
propagate: true
2) Point Prefect at this file:
- Set env var before you run: PREFECT_LOGGING_SETTINGS_PATH=/path/to/logging.yml
- Or put the file at ~/.prefect/logging.yml
Docs: Logging customization
Option 2 — set logger level programmatically at startup
import logging
for name in [
"prefect.concurrency",
"prefect.concurrency.v1",
"prefect.concurrency.v1.services",
]:
logging.getLogger(name).setLevel(logging.ERROR)
Option 3 — create a no‑op concurrency limit
If you’d rather remove the warning by satisfying the check, you can create a limit with a very high value so it never actually throttles. This is heavier than Option 1 since it still acquires/renews leases.
Docs: Tag-based concurrency limits
If you want, I can share a minimal ready‑to‑drop logging.yml tailored to your setup.