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

Control Verbosity #39

Open
jbuencuerpo opened this issue Mar 28, 2019 · 2 comments
Open

Control Verbosity #39

jbuencuerpo opened this issue Mar 28, 2019 · 2 comments

Comments

@jbuencuerpo
Copy link

jbuencuerpo commented Mar 28, 2019

I didn't find it in the docs, it is possible to minimize the Verbosity? Solving one cell is 5-10 lines of outpud and also the PDD solver output appears in the terminal but not in the notebook for example.

@dalonsoa
Copy link
Collaborator

Controlling the verbosity hasn't been a priority, so I am afraid there are little options there, at the moment.

Ideally, we will like to implement a proper logging system and not just printing stuff. This way, you can control the degree of verbosity by selecting the logging level, from DEBUG (highest) to CRITICAL (lowest), and send things to a log file if needed.

Now, making this work with the PDD, which send things directly to the standard output might be trickier. It might be possible to use something like this combined with a python callback function from fortran.

@jbuencuerpo
Copy link
Author

Ok, yes I was checking the logging lib. Maybe with the PDD it will be better on the compiling step add a debug option, so by default it doesn't print output, only on fails.

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

No branches or pull requests

2 participants