News for hackers. Stuff that matters.
Re:Vine mistakenly ships iOS app with debug mode enabled by amyjess on Wednesday November 25, 2015 @10:10AM (#10627537)
So, one thing my company does is that we have git hooks preventing any file containing "DBG" from being committed. Our logging system's debug level is called DBG.

Thus, debug-level logs are only for temporary debugging and can't be committed. Several times, I've written lines of debug logs that consisted of log.DBG("Well, fuck") knowing that they'd never be committed and that we have technical means of making sure of this.

Re:Vine mistakenly ships iOS app with debug mode enabled by tedmiston on Wednesday November 25, 2015 @04:12PM (#10629730)
It looks more like they built with debug config than a commit mistake.