Include in the logs FQDN + IP of the remote Corda component (notary, identity manager, etc) for each transaction

Description

While investigating Corda flow issues I got the following log:

1 2 [INFO ] 2019-08-08T09:42:16,678Z [flow-worker] corda.flow.call - Sending transaction to notary: CN=Notary - East US, O=R3 HoldCo LLC, L=New York, C=US. {actor_id=user, actor_owning_identity=O=Corda HA Node Nightly Build D przemek-2, L=London, C=GB, actor_store_id=NODE_CONFIG, fiber-id=10000002, flow-id=7bafc48b-7220-4782-a199-5ca97be7d944, invocation_id=bc961038-0f30-4be1-8b8d-904f3f3c1df6, invocation_timestamp=2019-08-08T09:42:15.488Z, origin=user, session_id=5c52f663-ca88-4853-a511-706d7e26f551, session_timestamp=2019-08-08T09:41:59.421Z, thread-id=244, tx_id=624CB95E2495D1D10F90EFAC4ADB370141B16A8BF5355979E1308EE0F6451072} [INFO ] 2019-08-08T09:42:16,956Z [Messaging executor] messaging.P2PMessagingClient.createQueueIfAbsent - Create fresh queue internal.peers.DL9a99YrLtWNeG6p7onPxGNY97Wjh2rVwxUMzK7oq9xQYv bound on same address {}

The log shows only the Legal Identity of the notary. In environments when we have several notaries it would save a lot of time if in the logs there was also FQDN/IP address of remote component (here: notary).

CVSS Vector

None

Status

Assignee

Unassigned

Reporter

Przemyslaw Bak

Labels

None

CVSS Score

None

Feature Team

Corda Core

Target Version/s

None

Ported to...

None

Priority

Medium