 queueUrlReport = (robot, msg, url) ->
   ms = Date.now()
   if sq.length >= maxRequestsPerInterval
-    msgout = "Max requests per interval (#{maxRequestsPerInterval}) reached. Your request will be serviced as soon as possible.  Window + Queue: #{sq.length}."
+    msgout = "#{modulename}: api max requests per interval reached. Your request will be serviced as soon as possible.  Window `#{sq.length}`."
+    robot.logger.info "#{msgout} [#{msg.envelope.user.name}]"
     robot.send {room: msg.envelope.user.name}, msgout
   sq.push { whenqueued: ms, sent: false, robot: robot, msg: msg, url: url }
   # robot.logger.debug "sq: { whenqueued: #{ms}, url: #{url} }"

  # robot.logger.info "sq: sending virustotal request for #{url}"
  virustotal.getUrlReport url, (err, res) ->
    if err
      msgout = "Virus total: error: `#{err.json.verbose_msg}`."
      robot.logger.info "#{msgout} [#{msg.envelope.user.name}]"
      return robot.send {room: msg.envelope.user.name}, msgout


      r.clean++ unless obj.detected
      r.unclean++ if obj.detected

    msgout = "#{modulename}: `#{res.resource.replace('http:\/\/','')}` rated clean by #{r.clean}, unclean by #{r.unclean}.  More info: #{res.permalink}"
    robot.logger.info "#{msgout} [#{msg.envelope.user.name}]"
    return robot.send {room: msg.envelope.user.name}, msgout

