Morning Team, I understand wiremock image use slf4...
# help
m
Morning Team, I understand wiremock image use slf4j for the logging , is there a way can we include or custom the logs? Basically trying to get the time stamp in the logs to track the request.
t
The best approach at the moment if you want full control over request logging is to add a
ServeEventListener
implementation that logs the serve event to whatever logging setup you wish.
m
Can’t we use something with the image directly? Looks like too much work for my current approach. I am deploying custom image with take the base image and add files and mapping .
t
Logging is quite limited at the moment, especially when running standalone. There are plans to improve this (see the logging improvements issue in GH), but they’re not complete yet.
m
No worries thanks for the help 🙏🏽