Skip to content

Commit

Permalink
Fix config transaction_name set
Browse files Browse the repository at this point in the history
  • Loading branch information
tammy-baylis-swi committed Oct 20, 2023
1 parent 45e3364 commit b6561a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions solarwinds_apm/apm_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,8 @@ def _set_config_value(self, keys_str: str, val: Any) -> Any:
self.__config[key] = val
# update logging level of agent logger
apm_logging.set_sw_log_level(val)
elif keys == ["transaction_name"]:
self.__config[key] = val
elif isinstance(sub_dict, dict) and keys[-1] in sub_dict:
if isinstance(sub_dict[keys[-1]], bool):
val = self.convert_to_bool(val)
Expand Down

0 comments on commit b6561a4

Please sign in to comment.