Commit 645e3abf authored by Thibault VINCENT's avatar Thibault VINCENT
Browse files

fix: loglevel should be debug

parent 7fdd429a
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -88,7 +88,7 @@ def run_node(options):
    # start node
    try:
        # create client
        logging.error('Initializing client')
        logging.debug('Initializing client')
        try:
            node = CCNode(options['address'], int(options['port']),
                          options['detect_hypervisor'] == 'yes',
@@ -99,13 +99,14 @@ def run_node(options):
                                                            repr(err), err)
            raise err
        # auth thread
        logging.info('Starting authentication thread')
        logging.debug('Starting authentication thread')
        auth_thread = threading.Thread(target=authentication, name='Auth',
            args=(node, suicide_event, options['login'], options['password']))
        auth_thread.daemon = True
        auth_thread.start()
        
        # main loop
        logging.info('Starting main loop')
        logging.debug('Starting main loop')
        node.run()
    except Exception as err:
        logging.error('run_node: `%s` -> `%s`', repr(err), err)