Rajat Sapkota’s Post

Spent 2 hours debugging a broken API. Turns out, I forgot to log the request body. I checked the response, traced the code, even asked a colleague. Nothing made sense. The server was throwing an error, but the logs didn’t show the actual payload. I added a log statement. The problem vanished. The request body was malformed. Log everything. Even the 'obvious' parts. A missing log line hides 80% of the problem. What’s the one thing you forgot to log that cost you time? #Debugging #DevOps #SoftwareEngineering

To view or add a comment, sign in

Explore content categories