Is there a workaround to bind prefect logger with ...
# prefect-server
k
Is there a workaround to bind prefect logger with logger implemented in module?
1
a
Yes, this is what extra loggers are for. Check those resources
1.0
Copy code
export PREFECT__LOGGING__EXTRA_LOGGERS="['boto3', 'botocore']"
2.0
Copy code
export PREFECT_LOGGING_EXTRA_LOGGERS=dask,scipy
k
Will this also bind with custom libs? after pip install .
a
in theory this should work, yes
k
And exporting puts this setting in .prefect folder?
a
export only sets environment variable
t
you should be able to put something in config.toml as well, I believe, like this, if you want this setting to apply beyond the open shell (
export
only sets an environment variable, so it will only affect the active shell and any subshells launched from it)
Copy code
[logging]
extra_loggers=dask,scipy
🔝 1
🙏 1
k
Didn't see that export command Just used a workaround and set that variable for a profile Hope that works Cheers for the super quick reply
🙌 1