Fixed a little problem in connect-logger.js

Fixed a little problem in connect-logger.js