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

Logging #42

Closed
alecandido opened this issue May 5, 2020 · 2 comments · Fixed by #81
Closed

Logging #42

alecandido opened this issue May 5, 2020 · 2 comments · Fixed by #81
Labels
enhancement New feature or request

Comments

@alecandido
Copy link
Member

alecandido commented May 5, 2020

Add log info (and verbose mode) with python logging library.

convolution

instead of making quad cluttering the output with integration errors logging them is the proper thing to do, so just use the full_output argument of quad, collect them and put in the global logs.

@alecandido alecandido added the enhancement New feature or request label May 6, 2020
@alecandido
Copy link
Member Author

@alecandido
Copy link
Member Author

Logging modes

User

All rich output, through an appropriate rich console used through logging.

Probably: set a user logging level.

Machine

Strip all the rich output and provide some custom output, for cluster and actions:

  • log the plan (number of theories/observables)
  • the progress percentage
  • the time since start
  • the wall-clock time

@felixhekhorn felixhekhorn mentioned this issue Oct 1, 2020
@felixhekhorn felixhekhorn linked a pull request Oct 1, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants