mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-02-11 17:07:18 +00:00
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:
parent
3dd3525c67
commit
09e624a9e5
@ -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()
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user