mirror of https://github.com/nucypher/nucypher.git
Better log emissions for running a local Ursula.
parent
453af8db36
commit
e3810bcfa8
|
@ -591,7 +591,7 @@ class Ursula(Teacher, Character, Miner):
|
|||
#
|
||||
if is_me:
|
||||
self.known_nodes.record_fleet_state(additional_nodes_to_track=[self])
|
||||
message = "Initialized Self {} | {}".format(self.__class__.__name__, self.checksum_public_address)
|
||||
message = "THIS IS YOU: {}: {}".format(self.__class__.__name__, self)
|
||||
self.log.info(message)
|
||||
else:
|
||||
message = "Initialized Stranger {} | {}".format(self.__class__.__name__, self)
|
||||
|
|
|
@ -386,7 +386,6 @@ Delete {}?'''.format(ursula_config.config_root), abort=True)
|
|||
# Produce - Step 2
|
||||
#
|
||||
ursula = ursula_config(known_nodes=teacher_nodes)
|
||||
ursula_config.log.debug("Initialized Ursula {}".format(ursula), fg='green')
|
||||
|
||||
# GO!
|
||||
try:
|
||||
|
@ -394,7 +393,7 @@ Delete {}?'''.format(ursula_config.config_root), abort=True)
|
|||
#
|
||||
# Run - Step 3
|
||||
#
|
||||
click.secho("Running Ursula on {}".format(ursula.rest_interface), fg='green', bold=True)
|
||||
click.secho("Running Ursula {} on {}".format(ursula, ursula.rest_interface), fg='green', bold=True)
|
||||
if not debug:
|
||||
stdio.StandardIO(UrsulaCommandProtocol(ursula=ursula))
|
||||
|
||||
|
|
Loading…
Reference in New Issue