https://prefect.io logo
Title
s

Sylvain Hazard

05/20/2022, 8:57 AM
Hey ! Thanks to Kevin, I'm trying out a method to use
loguru
logger in Prefect tasks as described here. At first glance it works pretty well but it looks like
DEBUG
logs aren't sinked into Prefect. Any idea what I could do ?
1
From
loguru
docs, you can define a minimum level to send logs to the sink but the default value is DEBUG which doesn't seem to work 😕
s

Sylvain Hazard

05/20/2022, 9:34 AM
Still working on Prefect 1.X unfortunately but thanks for the message 🙂
👍 1
a

Anna Geller

05/20/2022, 10:56 AM
Sylvain, the syntax is identical (not sure about the strings and lists) but the variable is the same:
export PREFECT__LOGGING__EXTRA_LOGGERS="['boto3', 'botocore']"
👍 1