logging to file configuration changed from root logger to application root logger
MODIFY
rasa_sdk/__main__.py
rasa_sdk/__main__.py
@@ -2,6 +2,7 @@ import logging
from rasa_sdk import utils
from rasa_sdk.endpoint import create_argument_parser, run
+from rasa_sdk.constants import APPLICATION_ROOT_LOGGER_NAME
def main_from_args(args):
@@ -9,7 +10,7 @@ def main_from_args(args):
logging.getLogger("matplotlib").setLevel(logging.WARN)
utils.configure_colored_logging(args.loglevel)
- utils.configure_file_logging(logging.root, args.log_file)
+ utils.configure_file_logging(logging.getLogger(APPLICATION_ROOT_LOGGER_NAME), args.log_file)
utils.update_sanic_log_level()
run(

logging to file configuration changed from root logger to application root logger