Cli part for #542: Make logging configurable