Modifies logger for CLI