Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set some environment variables for more verbose logging during recording #60

Open
KirillOsenkov opened this issue Jan 6, 2019 · 0 comments

Comments

@KirillOsenkov
Copy link
Member

When the extension is in "recording" mode it should set a few environment variables to make logging more verbose. Here's an example where BinaryLogger sets these:

https://github.com/Microsoft/msbuild/blob/715c0a55d7d447e1fa84f54b6985bd458f226cd3/src/Build/Logging/BinaryLogger/BinaryLogger.cs#L91

We probably need to set them early enough before node processes are created so that they can inherit the values.

Here's where this environment variable is consumed:
https://source.dot.net/#Microsoft.Build/Evaluation/Evaluator.cs,7d58222c828c5f83,references

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant