#6622 Logger refactoring: remove INI options:

- log_only_when_cli
- log_only_when_debug_parameter
#6622 Logger refactoring: added a deprecation