Skip to content

Commit

Permalink
log the worker name if set (#6866)
Browse files Browse the repository at this point in the history
  • Loading branch information
jolange authored Aug 10, 2022
1 parent e1b9e20 commit f43bc47
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions distributed/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -1370,6 +1370,9 @@ async def start_unsafe(self):

logger.info(" Start worker at: %26s", self.address)
logger.info(" Listening to: %26s", listening_address)
if self.name != self.address_safe:
# only if name was not None
logger.info(" Worker name: %26s", self.name)
for k, v in self.service_ports.items():
logger.info(" {:>16} at: {:>26}".format(k, self.ip + ":" + str(v)))
logger.info("Waiting to connect to: %26s", self.scheduler.address)
Expand Down

0 comments on commit f43bc47

Please sign in to comment.