Change the default_logging.yml
and logging.yml
to have more sensible default
#3687
Labels
Milestone
default_logging.yml
and logging.yml
to have more sensible default
#3687
Split out from #3591
Context
I did a demo a while ago showing how frustrating it is to try to change logging level.
With #3446 and this ticket, it will make customise logging easier for our users.
kedro run -v
verbose mode #3591 is a separate ticket that change logging directly for debugging purposeProblem
https://github.com/kedro-org/kedro/blob/da709d4316c141c5a7d6f676a87a5752807b33f4/kedro/templates/project/%7B%7B%20cookiecutter.repo_name%20%7D%7D/conf/logging.yml
There are many
level: INFO
settings in the template, one may expect changing them to see more verbose logging. The consequence is that you need to change multipleINFO
toDEBUG
in order to see theDEBUG
level message.So we basically provide a knob that doesn't change anything (technically it does, but it's most likely not what our user need, and for advance users they can figure out how to do advance filtering)
Proposal
kedro/kedro/templates/project/{{ cookiecutter.repo_name }}/conf/logging.yml
Lines 11 to 16 in da709d4
logging.yml
#3446 (comment)
Use case: As a plugin developer, I want to see my logging in kedro project during
kedro run
If we do 1., this will be basically adding addition logger in
loggers
section, but there is also a problem how plugins can do this easily or maybe it should be done at the package level. This can actually solved by #3591, advance settings will remains the same, which is adding a newloggers
or setting this with package level logging.I don't have a better solution than the current one yet. Here are things that we know:
kedro/kedro/templates/project/{{ cookiecutter.repo_name }}/conf/logging.yml
Lines 35 to 40 in da709d4
The text was updated successfully, but these errors were encountered: