https://kedro.org/ logo
#questions
Title
# questions
u

3loy3loy

03/04/2024, 12:51 PM
Hi! How are you setting the
KEDRO_LOGGING_CONFIG
env var in Windows? I have tried
energy-market-forecast/conf/base/logging.yml
,
conf/base/logging.yml
,
conf\base\logging.yml
and it seems to work fine when running
kedro run
, but not for the
%reload_kedro
, in the notebook opened with
kedro jupyter notebook
. I get the following message
FileNotFoundError: [Errno 2] No such file or directory: 'energy-market-forecast\\conf\\base\\logging.yml'
Thank you for your help!
l

Laura Couto

03/04/2024, 2:25 PM
Hi Eloy! Have you tried setting the absolute path for your logging.yml as the value for your env var?
u

3loy3loy

03/04/2024, 4:10 PM
Nice it does work!
2 Views