diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 18ec18b42a..5e707c35ed 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -35,7 +35,7 @@ services: - "${AESMD:-/dev/null}:/var/run/aesmd" - "${SGX_QCNL:-/dev/null}:/etc/sgx_default_qcnl.conf" environment: - - RUST_LOG=warn,ws=warn,sp_io=warn,substrate_api_client=warn,jsonrpsee_ws_client=warn,jsonrpsee_ws_server=warn,enclave_runtime=warn,integritee_service=warn,ita_stf=warn + - RUST_LOG=warn,ws=warn,sp_io=warn,substrate_api_client=warn,jsonrpsee_ws_client=warn,jsonrpsee_ws_server=warn,enclave_runtime=warn,integritee_service=warn,ita_stf=warn,its_consensus_common=debug networks: - integritee-test-network healthcheck: @@ -64,7 +64,7 @@ services: - "${AESMD:-/dev/null}:/var/run/aesmd" - "${SGX_QCNL:-/dev/null}:/etc/sgx_default_qcnl.conf" environment: - - RUST_LOG=warn,ws=warn,sp_io=warn,substrate_api_client=warn,jsonrpsee_ws_client=warn,jsonrpsee_ws_server=warn,enclave_runtime=warn,integritee_service=warn,ita_stf=warn + - RUST_LOG=warn,ws=warn,sp_io=warn,substrate_api_client=warn,jsonrpsee_ws_client=warn,jsonrpsee_ws_server=warn,enclave_runtime=warn,integritee_service=warn,ita_stf=warn,its_consensus_common=debug networks: - integritee-test-network healthcheck: diff --git a/service/src/main.rs b/service/src/main.rs index 9b7efa49fd..62cdff3a35 100644 --- a/service/src/main.rs +++ b/service/src/main.rs @@ -586,10 +586,10 @@ fn spawn_worker_for_shard_polling( loop { info!("Polling for worker for shard ({} seconds interval)", POLL_INTERVAL_SECS); - if let Ok(Some(_)) = node_api.worker_for_shard(&shard_for_initialized, None) { + if let Ok(Some(enclave)) = node_api.worker_for_shard(&shard_for_initialized, None) { // Set that the service is initialized. initialization_handler.worker_for_shard_registered(); - println!("[+] Found `WorkerForShard` on parentchain state"); + println!("[+] Found `WorkerForShard` on parentchain state: {:?}", enclave.pubkey); break } thread::sleep(Duration::from_secs(POLL_INTERVAL_SECS));