Skip to content

Improve logging setup in Kedro #1461

@idanov

Description

@idanov

Currently Kedro has some issues with the logging setup, which can cause some problems from minor annoyances to failures to run a Kedro project in certain environments. Here is a small list of the problems our current logging setup causes:

  • Kedro logs at root level, rather than kedro.* in many places
  • root log level is set to INFO instead of WARNING on all official starters
  • on read-only file systems Kedro projects fail to execute, rather than just failing to write the logs
  • KedroSession logs useless things at INFO level, like e.g. that the default session store doesn’t have a read() method and git describe failures…
  • maybe I am mistaken, but I think Kedro logs things before the logging config is setup (to be confirmed).
  • CLI commands output too many things, e.g. when you do kedro catalog list it should only show the output so it can be machine readable, but now there's lots of DEBUG level worthy output
  • kedro leaves info.log files everywhere for unknown reasons (easiest to notice is when runing a notebook in notebooks/)
  • Kedro-Airflow not working with Astrocloud kedro-plugins#13

In order to address those issues, we need to work on the following:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions