do not set loglevel for spiff log so it can send events to the listener w/ burnettk (#2222)

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
This commit is contained in:
jasquat 2025-01-24 14:50:07 -05:00 committed by GitHub
parent 3dd3525c67
commit 09e624a9e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 4 deletions

View File

@ -8,7 +8,7 @@ from spiffworkflow_backend.services.user_service import UserService
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()

View File

@ -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)