renaming add_logging_option_arguments method to add_logging_level_option_arguments, adding logging file arguments in parset in endpoint.py
MODIFY
rasa_sdk/endpoint.py
rasa_sdk/endpoint.py
@@ -52,7 +52,8 @@ def create_argument_parser():
parser = argparse.ArgumentParser(description="starts the action endpoint")
add_endpoint_arguments(parser)
- utils.add_logging_option_arguments(parser)
+ utils.add_logging_level_option_arguments(parser)
+ utils.add_logging_file_arguments(parser)
return parser

MODIFY
rasa_sdk/utils.py
rasa_sdk/utils.py
@@ -39,7 +39,7 @@ def all_subclasses(cls: Any) -> List[Any]:
]
-def add_logging_option_arguments(parser):
+def add_logging_level_option_arguments(parser):
"""Add options to an argument parser to configure logging levels."""
# arguments for logging configuration

renaming add_logging_option_arguments method to add_logging_level_option_arguments, adding logging file arguments in parset in endpoint.py