-
-
Notifications
You must be signed in to change notification settings - Fork 237
Incorrectly encoded logger output #1062
Copy link
Copy link
Open
Labels
Description
Describe the bug
The Wiremock console logger does not encode newline characters in the output. This causes problems with the log shipping mechanisms.
Expected behaviour:
I am using the WireMock.Net docker image to test my services within the K8s cluster. Because the output is formatted incorrectly, the log shipping mechanism treats each line as a separate log entry, resulting in a huge amount of log entries that are completely corrupted.
Below is the output from the Rancher console. As you can see, each line of formatted json is treated as a separate log entry:

Reactions are currently unavailable