MDC : Improving debugging/logging
Bob the builder, agrees! Construct your logs as good as Bob the Builder! Usually in most of the backend applications, a separate thread from the thread pool processes a client request. Once the request is completed, the thread is returned to the thread pool and it’s typical logs are generated. What are we trying to solve? Let’s take an example. Example: Consider a case where two users hav...
Bob the builder, agrees! Construct your logs as good as Bob the Builder! Usually in most of the backend applications, a separate thread from the thread pool processes a client request. Once the request is completed, the thread is returned to the thread pool and it’s typical logs are generated....