浏览代码

docs logging configuration: removed dead link and added javadoc reference instead. (#95080)

* docs: removed dead link and added javadoc reference instead.

* Update docs/reference/setup/logging-config.asciidoc

Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co>

---------

Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co>
Alessandro Stoltenberg 2 年之前
父节点
当前提交
2f274229cc
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      docs/reference/setup/logging-config.asciidoc

+ 3 - 2
docs/reference/setup/logging-config.asciidoc

@@ -266,12 +266,13 @@ Deprecation logs can be indexed into `.logs-deprecation.elasticsearch-default` d
 `cluster.deprecation_indexing.enabled` setting is set to true.
 `cluster.deprecation_indexing.enabled` setting is set to true.
 
 
 ==== Deprecation logs throttling
 ==== Deprecation logs throttling
+:es-rate-limiting-filter-java-doc: {elasticsearch-javadoc}/org/elasticsearch/common/logging/RateLimitingFilter.html
 Deprecation logs are deduplicated based on a deprecated feature key
 Deprecation logs are deduplicated based on a deprecated feature key
 and x-opaque-id so that if a feature is repeatedly used, it will not overload the deprecation logs.
 and x-opaque-id so that if a feature is repeatedly used, it will not overload the deprecation logs.
 This applies to both indexed deprecation logs and logs emitted to log files.
 This applies to both indexed deprecation logs and logs emitted to log files.
 You can disable the use of `x-opaque-id` in throttling by changing
 You can disable the use of `x-opaque-id` in throttling by changing
-`cluster.deprecation_indexing.x_opaque_id_used.enabled` to false
-See link:./server/src/main/java/org/elasticsearch/common/logging/RateLimitingFilter.java[RateLimitingFilter]
+`cluster.deprecation_indexing.x_opaque_id_used.enabled` to false,
+refer to this class {es-rate-limiting-filter-java-doc}[javadoc] for more details.
 
 
 [discrete]
 [discrete]
 [[json-logging]]
 [[json-logging]]