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

Implement PYMAPDL_DEBUG env var #3347

Open
germa89 opened this issue Aug 9, 2024 · 5 comments
Open

Implement PYMAPDL_DEBUG env var #3347

germa89 opened this issue Aug 9, 2024 · 5 comments

Comments

@germa89
Copy link
Collaborator

germa89 commented Aug 9, 2024

This env var will:

  • change MAPDL gRPC verbosity to 5.
  • activate PyMAPDL APDL logging
  • Activate PyMAPDL debug to stdout and file
@germa89
Copy link
Collaborator Author

germa89 commented Aug 9, 2024

It will be also nice to have something like:

from ansys.mapdl import core as pymapdl
pymapdl.DEBUG = True

which does the same stuff.

@germa89
Copy link
Collaborator Author

germa89 commented Aug 9, 2024

Related to #2822 #2703

@germa89
Copy link
Collaborator Author

germa89 commented Sep 16, 2024

Also, we should extend more the infor when failing under these env var. For example, making sure you are always printing the MAPDL working directory.

Special care should be put into the MAPDL starting part.

@germa89
Copy link
Collaborator Author

germa89 commented Nov 27, 2024

ideally we would also like to have something like:

pymapdl --debug on

so after that the debug prints are available until:

pymapdl --debug off

Something like that. We should then rely on the config file.

@germa89 germa89 mentioned this issue Nov 29, 2024
10 tasks
@germa89
Copy link
Collaborator Author

germa89 commented Nov 29, 2024

We should take advantage of #3596

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

1 participant