diff --git a/spiffworkflow-backend/bin/create_and_run_process_instance.py b/spiffworkflow-backend/bin/create_and_run_process_instance.py index d048d330a..74ab32779 100644 --- a/spiffworkflow-backend/bin/create_and_run_process_instance.py +++ b/spiffworkflow-backend/bin/create_and_run_process_instance.py @@ -8,7 +8,7 @@ def main() -> None: app = create_app() - process_model_identifier = sys.argv[1] + process_model_identifier = sys.argv[1].replace(":", "/") with app.app_context(): user = UserModel.query.first() diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/background_processing/celery_worker.py b/spiffworkflow-backend/src/spiffworkflow_backend/background_processing/celery_worker.py index 49f1ed0d4..7bb6a4f7d 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/background_processing/celery_worker.py +++ b/spiffworkflow-backend/src/spiffworkflow_backend/background_processing/celery_worker.py @@ -26,6 +26,3 @@ def setup_loggers(logger: Any, *args: Any, **kwargs: Any) -> None: stdout_handler.setFormatter(log_formatter) logger.addHandler(stdout_handler) setup_logger_for_app(the_flask_app, logger, force_run_with_celery=True) - # this handler is getting added somewhere but not sure where so set its - # level really high since we do not need it - logging.getLogger("spiff").setLevel(logging.CRITICAL)