-
Notifications
You must be signed in to change notification settings - Fork 8.3k
__PSDumpAMSILogContent debug logging sent to stdout #21497
Copy link
Copy link
Closed
Labels
Issue-Code Cleanupthe issue is for cleaning up the code with no impact on functionalitythe issue is for cleaning up the code with no impact on functionalityWG-ReviewedA Working Group has reviewed this and made a recommendationA Working Group has reviewed this and made a recommendationWG-Securitysecurity related areas such as JEAsecurity related areas such as JEA
Metadata
Metadata
Assignees
Labels
Issue-Code Cleanupthe issue is for cleaning up the code with no impact on functionalitythe issue is for cleaning up the code with no impact on functionalityWG-ReviewedA Working Group has reviewed this and made a recommendationA Working Group has reviewed this and made a recommendationWG-Securitysecurity related areas such as JEAsecurity related areas such as JEA
Type
Fields
Give feedbackNo fields configured for issues without a type.
Prerequisites
Steps to reproduce
When enabling AMSI debug logging the log is written to stdout, this mixes in with the success stream. It should be written to stderr.
Expected behavior
When $env:__PSDumpAMSILogContent='1' is set the extra logging should go to stderrActual behavior
When $env:__PSDumpAMSILogContent='1' is set the extra logging goes to stdoutError details
no error other reported by systemEnvironment data
Visuals