feat(worker): add configurable debug logging
This commit is contained in:
@@ -52,4 +52,7 @@ JOB_WORKER_CLEANUP_INTERVAL_SECONDS=5
|
||||
JOB_WORKER_BACKOFF_BASE_SECONDS=5
|
||||
JOB_WORKER_BACKOFF_MAX_SECONDS=300
|
||||
JOB_WORKER_MAX_ATTEMPTS_DEFAULT=3
|
||||
JOB_WORKER_LOG_LEVEL=INFO
|
||||
```
|
||||
|
||||
Use `JOB_WORKER_LOG_LEVEL=DEBUG` to log every worker poll, claim, lease renewal, progress update, retry, failure, and completion in the worker terminal.
|
||||
|
||||
Reference in New Issue
Block a user