You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note. Technically this is non-breaking, but best to do this following #2426, which is a breaking change. Hence this is for 0.19.0.
We are removing logging.yml from the project template (see #2281). However, there's a subtle piece of functionality that exists in project-side logging.yml that's not easily reproduced in the framework-side one: the project-side logging.yml has something like this:
loggers:
kedro:
level: INFO
iris:
level: INFO
It's not possible to put this in the framework-side logging.yml because you don't know what the project name is there. We can achieve this by adding it in the Python code in framework/project/__init__.py though by using PACKAGE_NAME (defined in configure_project), something like this:
We are removing logging.yml from the project template (see #2281). However, there's a subtle piece of functionality that exists in project-side logging.yml that's not easily reproduced in the framework-side one: the project-side logging.yml has something like this:
It's not possible to put this in the framework-side logging.yml because you don't know what the project name is there. We can achieve this by adding it in the Python code in
framework/project/__init__.py
though by usingPACKAGE_NAME
(defined inconfigure_project
), something like this:Originally posted by @AntonyMilneQB in #2281 (comment)
The text was updated successfully, but these errors were encountered: