posit-dev / positron

Positron, a next-generation data science IDE
https://positron.posit.co
Other
2.83k stars 91 forks source link

Suppress dumping env var information into Python logs #5342

Closed petetronic closed 1 week ago

petetronic commented 1 week ago

Addresses the positron-python extension piece of #5320

Sensitive information may be in env vars, we should not output this to the logs by default. Users can always debug their environment using a Terminal.

QA Notes

After Positron has successfully finished scanning for interpreters and has started a Python interpreter, check the Output tab on the Panel with the Python output channel and confirm that a dump of env vars is not present even at the most verbose level.