Logging fix in gulpfile.js