Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Provide command-line option for loading a custom powershell.config.json #5847

Copy link
Copy link
@dantraMSFT

Description

@dantraMSFT
Issue body actions

This enhancement is primarily driven by testing use cases including the following:

1: On Linux, syslog imposes a measurable overhead impacting test runtimes. (@JamesWTruher: Please provide data)

2: For testing syslog and os_log there is a need to override the source name and output log to provide reliable verification.

One solution to both issues is to support launching an instance of PowerShell with a custom powershell.config.json file as a command-line option. For test runs, the json could restrict log output to error and critical messages. For syslog testing, the log file can be changed to ensure only the expected output is captured. For syslog and os_log, the source name can be changed to enable filtering and verifying the expected log messages.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.