master
setup_logger
def setup_logger(log_to_console, log_to_file, console_loglevel, file_log_path, log_server, log_gathering):