Modern log aggregation & search tools provide significant new capabilities for teams building, testing, and running software systems. By treating logging as a core system component, and using techniques such as unique event IDs, transaction tracing, and structured log output, we gain rich insights into application behaviour and health, especially cross-component visibility. In this article on InfoQ – co-authored with my colleague Manuel Pais – we explain why it is valuable to test aspects of logging and how to do this with modern log aggregation tooling. This approach makes logging a channel or vector to make distributed systems more testable.
InfoQ: Why and How to Test Logging by Matthew Skelton and Manuel Pais
Bonus: check out these slides from a talk I gave at Testing Showcase North in February 2016 on Why and how to test logging