ok, so it is possible to do this but very awkward....
# beginners-need-help
a
ok, so it is possible to do this but very awkward... In order to intercept the logging early on enough in the process you'll need to use the (very unknown and unused)
kedro.init
entrypoint, which means you'll need to make a pip-installable plugin. Here's a minimal example: https://github.com/AntonyMilneQB/kedro-disable-logging You can install by
pip install git+https://github.com/AntonyMilneQB/kedro-disable-logging.git
This example is very brute force in that it calls
logging.disable
. You can definitely make it less aggressive and just remove the handlers you don't want instead in
plugin.disable_logging