def main(args): """ Setup a logger server based on the configuration and manage the CodeChecker server. """ with logger.LOG_CFG_SERVER(args.verbose if 'verbose' in args else None): server_init_start(args)
def main(args): """ Setup a logger server based on the configuration and manage the CodeChecker server. """ with logger.LOG_CFG_SERVER(args.verbose if 'verbose' in args else None): try: cmd_config.check_config_file(args) except FileNotFoundError as fnerr: LOG.error(fnerr) sys.exit(1) server_init_start(args)