Repository: kedro-org/kedro
Pull request: Alter framework logging.yml configuration
Signed-off-by: Ahdra Merali <ahdra.merali@quantumblack.com>

## Description
<!-- Why was this PR created? -->

Adds the changes outlined in #1470 to update the inbuilt logging setup.

## Development notes

The changes were tested by running some cli commands and noting the changes in the output between this and the unchanged version, and between valid and invalid pipelines. The only divergence in output was noted when running `kedro ipython`

**Original output**
```
...
Python 3.7.11 (default, Jul 27 2021, 07:03:16) 
Type 'copyright', 'credits' or 'license' for more information
IPython 7.32.0 -- An enhanced Interactive Python. Type '?' for help.
2022-04-29 13:59:26,965 - root - INFO - Updated path to Kedro project: /Users/ahdra_merali/Desktop/kedrotest
2022-04-29 13:59:27,249 - kedro.framework.session.store - INFO - `read()` not implemented for `BaseSessionStore`. Assuming empty store.
2022-04-29 13:59:27,299 - kedro.framework.session.session - WARNING - Unable to git describe /Users/ahdra_merali/Desktop/kedrotest
2022-04-29 13:59:27,600 - numexpr.utils - INFO - NumExpr defaulting to 8 threads.
2022-04-29 13:59:28,576 - root - INFO - ** Kedro project kedrotest
2022-04-29 13:59:28,576 - root - INFO - Defined global variable `context`, `session`, `catalog` and `pipelines`
2022-04-29 13:59:30,174 - root - INFO - Registered line magic `run_viz`
```

**Updated output**
```
...
Python 3.7.11 (default, Jul 27 2021, 07:03:16) 
Type 'copyright', 'credits' or 'license' for more information
IPython 7.32.0 -- An enhanced Interactive Python. Type '?' for help.
WARNING:kedro.framework.session.session:Unable to git describe /Users/ahdra_merali/Desktop/kedrotest
2022-04-29 13:47:55,995 - numexpr.utils - INFO - NumExpr defaulting to 8 threads.
2022-04-29 13:47:56,921 - root - INFO - ** Kedro project kedrotest
2022-04-29 13:47:56,921 - root - INFO - Defined global variable `context`, `session`, `catalog` and `pipelines`
2022-04-29 13:47:58,538 - root - INFO - Registered line magic `run_viz`
```


## Checklist

- [ ] Read the [contributing](https://github.com/kedro-org/kedro/blob/main/CONTRIBUTING.md) guidelines
- [ ] Opened this PR as a 'Draft Pull Request' if it is work-in-progress
- [ ] Updated the documentation to reflect the code changes
- [ ] Added a description of this change in the [`RELEASE.md`](https://github.com/kedro-org/kedro/blob/main/RELEASE.md) file
- [ ] Added tests to cover my changes


<a href="https://gitpod.io/#https://github.com/kedro-org/kedro/pull/1491"><img src="https://gitpod.io/button/open-in-gitpod.svg"/></a>



Problem statement:
Alter framework logging.yml configuration
Various small changes to make to the framework kedro/config/logging.yml (**not to the project conf/base/logging.yml**):
* delete the section `root`
* add the `kedro.io` and `kedro.pipeline` that are in project conf/base/logging.yml to the framework kedro/config/logging.yml 
* add the following to the loggers:
```
kedro:
  level: INFO
  handlers: [console, info_file_handler, error_file_handler]
  propagate: no
```

Do some kedro runs to make sure things look ok. I'm pretty sure they will.

Hints from issue discussion:
Might fix the [`kedro-airflow` problem](https://github.com/kedro-org/kedro-plugins/issues/13), double check this is the case.

Commit message: Add changes to framework logging.yml

Signed-off-by: Ahdra Merali <ahdra.merali@quantumblack.com>

Patch to review:
diff --git a/kedro/config/logging.yml b/kedro/config/logging.yml
index 8f671003ef..437becff10 100644
--- a/kedro/config/logging.yml
+++ b/kedro/config/logging.yml
@@ -33,15 +33,21 @@ handlers:
 
 loggers:
     anyconfig:
-        level: WARNING
-        handlers: [console]
+        level: INFO
+        handlers: [console, info_file_handler, error_file_handler]
         propagate: no
 
     kedro.framework.cli.hooks.manager:
         level: INFO
-        handlers: [console]
+        handlers: [console, info_file_handler, error_file_handler]
+        propagate: no
+
+    kedro.io:
+        level: INFO
+        handlers: [console, info_file_handler, error_file_handler]
         propagate: no
 
-root:
-    level: INFO
-    handlers: [console, info_file_handler, error_file_handler]
+    kedro.pipeline:
+        level: INFO
+        handlers: [console, info_file_handler, error_file_handler]
+        propagate: no


Code review comments:
diff_hunk: @@ -33,15 +33,21 @@ handlers:
 
 loggers:
     anyconfig:
-        level: WARNING
-        handlers: [console]
+        level: INFO
path: kedro/config/logging.yml
text: @user1:
Why `anyconfig` level is changed from `WARNING` to `INFO`?

@author:
Oops - thanks for the catch!