code: protected function logInvalidLoginAttempt($name)
      {
          // Trim logged name to the maximum allowed length
          $max = $this->config["registration"]["nameLenMax"];
          if (strlen($name)>$max) {
              $max = substr($name, 0, $max) . " (trimmed)";
          }
          $this->getLogger()->notice(
              "Invalid login attempt for {name} by {addr}",
              array(
                  "name" => $name,
                  "addr" => $_SERVER['REMOTE_ADDR'],
              )
          );
      }
docs: Logs an invalid login attempt
  
  @param array $name Username the attempt was for