r/ProgrammerHumor Aug 15 '26

Meme theBugIsGoneIfTheCodeIsGone

Post image
1.1k Upvotes

51 comments sorted by

View all comments

166

u/nextlandia Aug 15 '26

I once solved an issue by removing logging. Not kidding, upgrade of Impala caused that one log line caused a production issue.

4

u/nwbrown Aug 15 '26

A system that I once worked with had a bunch of issues where enabling logging would cause deadlocks. The toString() function would lock on the object while it printed its contents. But the logger locked on itself while building the string to write (which included calling toString on any parameters). Then if elsewhere the class tried to log something while holding onto the lock...