Enhance logging by tracking stdout and stderr of subprocess when log level set to DEBUG.
If the process terminates abnormally then the error is not logged which makes it very
difficult to find the reason for failure.
Fixes #5176
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=019932c32374636c4bf87a6023839a080c14e569
Author: Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>
Modified Files
--------------
docs/en_US/release_notes_4_19.rst | 1 +
web/pgadmin/misc/bgprocess/processes.py | 29 ++++++++++++++++++++++++-----
2 files changed, 25 insertions(+), 5 deletions(-)