Add reloader name to colored message
@@ -46,8 +46,9 @@ class BaseReload:
def startup(self):
message = f"Started reloader process [{self.pid}] using {self.reloader_name}"
- color_message = "Started reloader process [{}]".format(
- click.style(str(self.pid), fg="cyan", bold=True)
+ color_message = "Started reloader process [{}] using {}".format(
+ click.style(str(self.pid), fg="cyan", bold=True),
+ click.style(str(self.reloader_name), fg="cyan", bold=True),
)
logger.info(message, extra={"color_message": color_message})
