diff --git a/nvflare/app_opt/flower/executor.py b/nvflare/app_opt/flower/executor.py index 88d8745b6f..dfefb9b6ae 100644 --- a/nvflare/app_opt/flower/executor.py +++ b/nvflare/app_opt/flower/executor.py @@ -68,6 +68,15 @@ def get_applet(self, fl_ctx: FLContext): def configure(self, config: dict, fl_ctx: FLContext): self.num_rounds = config.get(Constant.CONF_KEY_NUM_ROUNDS) + self._log_states(fl_ctx) def get_connector_config(self, fl_ctx: FLContext) -> dict: return {Constant.CONF_KEY_NUM_ROUNDS: self.num_rounds} + + def _log_states(self, fl_ctx: FLContext): + self.log_info(fl_ctx, "States are:") + self.log_info(fl_ctx, f" {self.int_server_grpc_options=}") + self.log_info(fl_ctx, f" {self.per_msg_timeout=}") + self.log_info(fl_ctx, f" {self.tx_timeout=}") + self.log_info(fl_ctx, f" {self.client_shutdown_timeout=}") + self.log_info(fl_ctx, f" {self.extra_env=}")