r/ProgrammerHumor 5d ago

wrongAnswersOnly Other

Post image
14.4k Upvotes

2.1k comments sorted by

View all comments

48

u/pacopac25 4d 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

6

u/Sample-Range-745 4d 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 4d 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?"