Who i’m i…

👋 I’m Bernal Varela, software developer from A Coruña, Galicia. Husband, father of three, computers lover since i can remember and working in what i like for more than 10 years. Most of my career i have work with java, spring, microservices, huge amount of data and requests and their treatment in little amount of time.

Structured JSON Logging for WireMock: A Custom Extension for Easy Log Aggregation

If you’ve ever used WireMock for integration testing, you know it’s an incredibly powerful tool. However, you’ve probably also noticed that its default logging, while informative for humans, can be a real headache for machines. It’s verbose, multi-line, and unstructured, making it a challenge to parse and analyze in a modern log aggregation system. In this post, we’ll walk through a custom WireMock extension that transforms this noisy output into clean, single-line, structured JSON logs, perfect for systems like Logstash, Fluentd, or an OpenSearch/ELK stack. ...

November 6, 2025 Â· 6 min Â· Theme PaperMod