Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add verbose flag to run_circuit #49

Closed
scarrazza opened this issue Jul 11, 2024 · 1 comment
Closed

Add verbose flag to run_circuit #49

scarrazza opened this issue Jul 11, 2024 · 1 comment

Comments

@scarrazza
Copy link
Member

If verbose=0 only show static INFO message:

[2024-07-11 10:43:45,023] INFO: Post new circuit on the server
[2024-07-11 10:43:45,119] INFO: Job posted on server with pid 20fa917ac9qwerqwbe4c1b9f697800912bc9ee
[2024-07-11 10:43:45,120] INFO: Please wait until your job is completed...

If verbose=1:

[2024-07-11 10:43:45,023] INFO: Post new circuit on the server
[2024-07-11 10:43:45,119] INFO: Job posted on server with pid 20fa917ac9be4c1b9f697800912bc9ee
# every 2 seconds (SECONDS_BETWEEN_CHECKS)
[2024-07-11 10:43:45,120] INFO: Job QUEUEING.
[2024-07-11 10:43:45,120] INFO: Job RUNNING.
[2024-07-11 10:43:45,120] INFO: Job COMPLETED.
@marcorossi5
Copy link
Contributor

@scarrazza Current status.

If verbose=0 (default):

[2024-07-19 16:06:49,150] INFO: Post new circuit on the server
[2024-07-19 16:06:49,171] INFO: Job posted on server with pid 5d3c3447777d48299db510758577f6ad
[2024-07-19 16:06:49,172] INFO: Check results availability for 5d3c3447777d48299db510758577f6ad job in your reserved page at http://localhost:8011/
[2024-07-19 16:06:49,172] INFO: Please wait until your job is completed...

If verbose=1

[2024-07-19 16:05:10,843] INFO: Post new circuit on the server
[2024-07-19 16:05:10,862] INFO: Job posted on server with pid 1765bb793bf243d4bbbc6ee86f4ee525
[2024-07-19 16:05:10,862] INFO: Check results availability for 1765bb793bf243d4bbbc6ee86f4ee525 job in your reserved page at http://localhost:8011/
[2024-07-19 16:05:10,867] INFO: Job QUEUEING
[2024-07-19 16:05:11,882] INFO: Job RUNNING
[2024-07-19 16:05:12,886] INFO: Job RUNNING
[2024-07-19 16:05:13,890] INFO: Job RUNNING
[2024-07-19 16:05:14,896] INFO: Job RUNNING
[2024-07-19 16:05:15,907] INFO: Job COMPLETED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants