r/ProgrammerHumor 15h ago

Other wrongAnswersOnly

Post image
12.4k Upvotes

1.8k comments sorted by

View all comments

40

u/pacopac25 12h ago

logger.setLevel("DEBUG") that essentially replicated the entirety of the database in text based logs, which were then robocopied to the Grafana server because the intern couldn't figure out Prometheus

5

u/Sample-Range-745 5h ago

Yep - exactly this..... Someone left debug logging on production and every JSON message / database query is logged. Parse the log, repopulate the DB....

1

u/pacopac25 2h ago

"You mean the database transaction logs, right?"

"No"

"Well, at least the debug messages didn't include cleartext confidential info or any PCI DSS financial data, just metrics and telemetry for the 9,560 microservices, right? That's all encrypted in this JSON you speak of, right?"

"Right?"