示例#1
0
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)
示例#2
0
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)