Shoot, I actually added some functionality into the print wrapper I wrote for my company's utility library, which allows certain messages to be flagged as "debug only". That way, when the "verbosity" is set to high, they'll print, but when its normal or below, the debug messages won't even be parsed!
But, yeah, leaving those in is definitely a valid problem. Still, a decent code review process should catch them.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.