Issue #8695 by tuj: Removed console.logs