fixes #2903 - CLI logging is creating a lot of logs

 - roll log file after 1MB by default, size can be set in cli_config.yml
 - keep last 5 rolls