 #
 #  Example broadcast for an Exit timeout alert:
 #
-#    "Logentries (Production Alert): Exit timeout"
+#    "[<Your Logentries App Name> Logs]: Exit timeout"
 #
 # Dependencies:
 #   None

        user.room = process.env.LOGENTRIES_ROOM
      user.type = 'groupchat'

      robot.send user, "Logentries (Production Alert): #{alert}"

      res.writeHead 200, {'Content-Type': 'text/plain'}
      res.end 'Thanks\n'

    if req.body.payload
      data = JSON.parse req.body.payload
      alert = data.alert.name
      name = data.log.name

      robot.logger.info "Alert POSTed from LogEntries: #{alert}"

