I am running wiremock as a standalone docker conta...
# general
v
I am running wiremock as a standalone docker container. When logs are forwarded to kibana, it shows up as below which is less than preferred. is there any way we could change the logging format to JSON or any other suggestions
@Tom Could you please help me with this?
t
Hi @Vasu until we complete https://github.com/wiremock/wiremock/issues/1471 (which won’t be for a while yet) the best way to customise log output is to turn off the standard logging and create a
PostServeAction
implementation that logs the
ServeEvent
out in whatever format is most convenient for you.
v
is there an example that you could help me with which has the above implementation?
t
Docs for extension points are here: https://wiremock.org/docs/extending-wiremock/
v
Thank you very much 👍 This helps a lot.