mirror of
https://github.com/corda/corda.git
synced 2025-06-12 04:08:26 +00:00
ENT-2489: Improve logging for MultiThreadedStateMachineManager. (#1389)
This commit is contained in:
@ -147,6 +147,7 @@ class MultiThreadedStateMachineManager(
|
|||||||
(fiber as FlowStateMachineImpl<*>).logger.warn("Caught exception from flow", throwable)
|
(fiber as FlowStateMachineImpl<*>).logger.warn("Caught exception from flow", throwable)
|
||||||
}
|
}
|
||||||
serviceHub.networkMapCache.nodeReady.then {
|
serviceHub.networkMapCache.nodeReady.then {
|
||||||
|
logger.info("Node ready, info: ${serviceHub.myInfo}")
|
||||||
resumeRestoredFlows(fibers)
|
resumeRestoredFlows(fibers)
|
||||||
flowMessaging.start { _, deduplicationHandler ->
|
flowMessaging.start { _, deduplicationHandler ->
|
||||||
lifeCycle.requireState(State.STARTED, StateMachineStoppedException("Flow cannot be started. State machine is stopped.")) {
|
lifeCycle.requireState(State.STARTED, StateMachineStoppedException("Flow cannot be started. State machine is stopped.")) {
|
||||||
@ -154,6 +155,7 @@ class MultiThreadedStateMachineManager(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
logger.info("Setting status to STARTED for node info: ${serviceHub.myInfo}")
|
||||||
lifeCycle.transition(State.UNSTARTED, State.STARTED)
|
lifeCycle.transition(State.UNSTARTED, State.STARTED)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user