[pgAdmin][RM5176] Enhance debugging pgAdmin subprocesses

From: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgAdmin][RM5176] Enhance debugging pgAdmin subprocesses
Date: 2020-02-11 06:32:17
Message-ID: CAM9w-_nmVj=O1e94e263pQoHSK4FcyGRewfBe1F5hTe_fRsUow@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Hackers,

Attached is the patch to enhance debugging pgAdmin subprocesses. When
logging set to DEBUG, the output and error from popen used to spawn the
process will be logged.
Currently, if the process terminates abnormally then the error is not
logged which makes it very difficult to find the reason of failure.

Kindly review.

--
Thanks and Regards,
Aditya Toshniwal
pgAdmin Hacker | Sr. Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"

Attachment Content-Type Size
RM5176.patch application/octet-stream 1.9 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2020-02-11 09:00:05 pgAdmin 4 commit: Enhance logging by tracking stdout and stderr of subp
Previous Message Ashesh Vashi 2020-02-11 05:22:58 Re: node.js: "getView:generate_url" has explicit with_id=false