Skip to content
Snippets Groups Projects
Commit 73e0528c authored by Javier Diaz's avatar Javier Diaz
Browse files

Debugging

parent d3baf581
No related branches found
No related tags found
2 merge requests!294Release TeraFlowSDN 4.0,!259Resolve "(CTTC) Replace DLT Gateway functionality with an opensource and Hyper Ledger v2.4+ compliant version"
...@@ -22,6 +22,7 @@ from common.tools.client.RetryDecorator import retry, delay_exponential ...@@ -22,6 +22,7 @@ from common.tools.client.RetryDecorator import retry, delay_exponential
from common.tools.grpc.Tools import grpc_message_to_json_string from common.tools.grpc.Tools import grpc_message_to_json_string
LOGGER = logging.getLogger(__name__) LOGGER = logging.getLogger(__name__)
LOGGER.setLevel(logging.DEBUG)
MAX_RETRIES = 15 MAX_RETRIES = 15
DELAY_FUNCTION = delay_exponential(initial=0.01, increment=2.0, maximum=5.0) DELAY_FUNCTION = delay_exponential(initial=0.01, increment=2.0, maximum=5.0)
RETRY_DECORATOR = retry(max_retries=MAX_RETRIES, delay_function=DELAY_FUNCTION, prepare_method_name='connect') RETRY_DECORATOR = retry(max_retries=MAX_RETRIES, delay_function=DELAY_FUNCTION, prepare_method_name='connect')
......
...@@ -25,6 +25,7 @@ from dlt.connector.client.DltGatewayClient import DltGatewayClient ...@@ -25,6 +25,7 @@ from dlt.connector.client.DltGatewayClient import DltGatewayClient
from .tools.Checkers import record_exists from .tools.Checkers import record_exists
LOGGER = logging.getLogger(__name__) LOGGER = logging.getLogger(__name__)
LOGGER.setLevel(logging.DEBUG)
METRICS_POOL = MetricsPool('DltConnector', 'RPC') METRICS_POOL = MetricsPool('DltConnector', 'RPC')
......
...@@ -19,6 +19,7 @@ from .DltRecordSender import DltRecordSender ...@@ -19,6 +19,7 @@ from .DltRecordSender import DltRecordSender
from .Types import EventTypes from .Types import EventTypes
LOGGER = logging.getLogger(__name__) LOGGER = logging.getLogger(__name__)
LOGGER.setLevel(logging.DEBUG)
ADMIN_CONTEXT_ID = ContextId(**json_context_id(DEFAULT_CONTEXT_NAME)) ADMIN_CONTEXT_ID = ContextId(**json_context_id(DEFAULT_CONTEXT_NAME))
INTERDOMAIN_TOPOLOGY_ID = TopologyId(**json_topology_id(INTERDOMAIN_TOPOLOGY_NAME, context_id=ADMIN_CONTEXT_ID)) INTERDOMAIN_TOPOLOGY_ID = TopologyId(**json_topology_id(INTERDOMAIN_TOPOLOGY_NAME, context_id=ADMIN_CONTEXT_ID))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment