Michiel van Oosterhout

Results 4 comments of Michiel van Oosterhout

@cmanaha One use case for using a formatter is [Elastic Common Schema](https://www.elastic.co/guide/en/ecs/current/index.html). The official Python support for ECS in [elastic/ecs-logging-python](https://github.com/elastic/ecs-logging-python) is implemented as a formatter.

> I have tried suppressing the warning as you suggested: > > ``` > [Parameter(Mandatory=$false, HelpMessage="The SystemAttributeValue.ObjectId property (Required)")] > [Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSReviewUnusedParameter', '$ObjectId', Justification = 'false positive')] > ``` > >...

Same command works fine when running the image tagged `7.2-debian-11`: ``` % docker run -it --name "ps72" --platform "linux/amd64" --rm "mcr.microsoft.com/powershell:7.2-debian-11" PS /> Write-Warning Test WARNING: Test ```

The same error occurs when running the images tagged `7.4-debian-12` and `7.4-alpine-3.17`. And note that after the error the `docker` process does not respond to `SIGINT` (Ctrl+C), `SIGTSTP` (Ctrl+Z), or...