       auth        :
         type      : 'token'
         key       : token
+      logLevel    : @options.logLevel
 
   createKites: (kiteDescriptors) ->
     (@createKite k for k in kiteDescriptors)

    @authenticate()  if @options.autoConnect

  authenticate: (@options = @options) ->
    { url, auth, username, environment, version, region, hostname, name } = @options

    @kite = new @constructor.Kite
      username    : username

      name        : name ? 'kontrol'
      url         : url
      auth        : auth
      logLevel    : logLevel

    @kite.on 'error', @emit.bind this, 'error'  # forward kite error events
    @kite.on 'connected', @emit.bind this, 'connected'
