https://linen.dev logo
#help
Title
# help
b

Brian

09/15/2023, 2:14 PM
Hello, I am using wiremock in a standalone docker container. I was wondering if there is a way to have wiremock log in json (logstash) format?
t

Tom

09/15/2023, 2:16 PM
Hi @Brian, right now you’d need to write a
ServeEventListener
extension that formatted the
ServeEvent
data into the JSON format you needed. This issue is a sort-of meta tracker for logging improvements we intend to make longer term, which will include JSON logging: https://github.com/wiremock/wiremock/issues/1471
👍🏻 1
b

Brian

09/15/2023, 2:22 PM
thanks Tom. Good to know
2 Views