#6622 Logger refactoring: log in CLI

- follows the verbosity level
- formatted with colors