Skip to content

Commit

Permalink
💩 Add logs to help debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
gmarabout committed Feb 15, 2024
1 parent 41e1d14 commit 4ba32f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion taipy/core/_orchestrator/_orchestrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def _update_submission_status(cls, job: Job):
if submission:
submission._update_submission_status(job)
else:
cls.__logger.warning("Submission not found, Submission ID: %s, Job ID: %s", job.submit_id, job.id)
cls.__logger.error("Submission not found, Submission ID: %s, Job ID: %s", job.submit_id, job.id)
all_submissions = _SubmissionManagerFactory._build_manager()._get_all()
cls.__logger.debug("Existing submissions: %s", ", ".join([submission.id for submission in all_submissions]))

Expand Down
2 changes: 1 addition & 1 deletion taipy/core/submission/_submission_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def _create(cls, entity_id: str, entity_type: str, entity_config: Optional[str],
entity_id=entity_id, entity_type=entity_type, entity_config_id=entity_config, properties=properties
)
cls._set(submission)
LOGGER.warn("Submission created: %s", submission.id)
LOGGER.info("Submission created: %s", submission.id)

Notifier.publish(_make_event(submission, EventOperation.CREATION))

Expand Down

0 comments on commit 4ba32f4

Please sign in to comment.