Re: meson logs environment - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: meson logs environment
Date
Msg-id f53927f2-32ac-d358-d017-b13f28a1bd27@dunslane.net
Whole thread Raw
In response to Re: meson logs environment  (Nazir Bilal Yavuz <byavuz81@gmail.com>)
List pgsql-hackers


On 2023-02-21 Tu 05:27, Nazir Bilal Yavuz wrote:
Hi,

On Tue, 21 Feb 2023 at 04:48, Andrew Dunstan <andrew@dunslane.net> wrote:

I've noticed that `meson test` logs the complete environment in meson_logs/testlog.txt. That seems unnecessary and probably undesirable for the buildfarm client. Is there any way to suppress that, or at least only print some relevant subset? (The buildfarm client itself only reports an approved set of environment variables).
There is an open issue on the meson:
https://github.com/mesonbuild/meson/issues/5328 and I confirm that
`env --ignore-environment PATH="$PATH" meson test` prevents
environment variables from being logged.


Ouch, OK, I'll do something like that. The fact that this issue has been open since 2019 is not encouraging.


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com

pgsql-hackers by date:

Previous
From: David Geier
Date:
Subject: Re: Parallel Bitmap Heap Scan reports per-worker stats in EXPLAIN ANALYZE
Next
From: Nazir Bilal Yavuz
Date:
Subject: Re: Refactor calculations to use instr_time