Dear all,

is it possible to use python's logging module
(https://docs.python.org/2/howto/logging.html) to handle PETSc output in
python, such as the residuals during a KSP/SNES solve?
I log my solver's activity to a file using the logging module, it would
be great to include the PETSc output aswell.

Regards,
David

Reply via email to