Bug #3297: Remove debug output

(cherry picked from commit 215079a8eacde1d27411bf91fcf0d8b4d469b29d)