3 ms·
> it's much easier to process the test output and debug the microservices than monolithic applications. You easier to debug end-to-end tests of a microservice
by amirouche 8y ago
> it's much easier to process the test output and debug the microservices than monolithic applications.
You easier to debug end-to-end tests of a microservice architecture that monolith? That's not my experience. How do you manage to put side by side all the events when they are in dozen of files?
- ivan_gammel 8y agoI just don't use files for anything (services should be designed with the assumption that container can be destroyed any time, so files are simply not an option here). If you are talking about the logs, there are solutions like Graylog to aggregate and analyze them.
- scarface74 8y agoUsing only files for logging is the last thing I would do in 2018. I use Serilog for structured logging. Depending on the log destination, your logs are either stored in an RDMS (I wouldn’t recommend it) or created as JSON with name value pairs that can be sent directly to a JSON data store like ElasticSearch or Mongo where you can do adhoc queries. https://stackify.com/what-is-structured-logging-and-why-developers-need-it/ https://stackify.com/what-is-structured-logging-and-why-deve...