     )
 
     serial_port.on "open", =>
-      console.log "Node serialport connected to #{tty}"
+      logger.info "Node serialport connected to #{tty}"
+      logger.debug serial_port
 
       @_setup_sio()
 
       serial_port.on 'data', (data) ->
-        console.log 'data received: ' + data
+        logger.info 'data received: ' + data
 
   #
   # break our colors string into array, write each color to the appropriate address

    serial_port.write instruction, (err, results) ->
      logger.debug 'serial_port.write err: ' + err if err
      logger.debug 'serial_port.write results: ' + results if results

module.exports = Server

    socket.on 'connect',             => console.log "connected to socket at #{@_url()}"
    socket.on 'connect_error', (obj) => console.log 'connect error', obj
    socket.on 'disconnect',          => console.log "socket at #{@_url()} disconnected"
    socket.on 'colorChanged', (data) =>
      @_write_colors_over_tty(data)

    socket.on 'colorSet',               @_write_colors_over_tty

  #
