pgAdmin 4 commit: Enhance logging by tracking stdout and stderr of subp

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

pgAdmin 4 commit: Enhance logging by tracking stdout and stderr of subp

Akshay Joshi
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 <[hidden email]>

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(-)