You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/02/03 13:51:00 UTC
[jira] [Commented] (LOG4J2-2925) FAQ has broken link formatting for SLF4J link
[ https://issues.apache.org/jira/browse/LOG4J2-2925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17486494#comment-17486494 ]
ASF subversion and git services commented on LOG4J2-2925:
---------------------------------------------------------
Commit 2e8120fe963a5dc6e71d4214ab817f405a498569 in logging-log4j2's branch refs/heads/master from Volkan Yazıcı
[ https://gitbox.apache.org/repos/asf?p=logging-log4j2.git;h=2e8120f ]
LOG4J2-2925 Fix SLF4J link in FAQ.
> FAQ has broken link formatting for SLF4J link
> ---------------------------------------------
>
> Key: LOG4J2-2925
> URL: https://issues.apache.org/jira/browse/LOG4J2-2925
> Project: Log4j 2
> Issue Type: Bug
> Components: Documentation
> Reporter: Marcono1234
> Priority: Trivial
>
> https://logging.apache.org/log4j/2.x/faq.html#gc-free-slf4j has broken link formatting for the link to SLF4J's {{LocationAwareLogger}}:
> {quote}
> The [org.slf4j.spi.LocationAwareLogger::log]#log(org.slf4j.Marker, java.lang.String, int, java.lang.String, java.lang.Object(http://www.slf4j.org/api/org/slf4j/spi/LocationAwareLogger.html[], java.lang.Throwable)) method is [...]
> {quote}
> Interestingly GitHub renders the link [without issues|https://github.com/apache/logging-log4j2/blob/master/src/site/asciidoc/faq.adoc#is-log4j-2-still-garbage-free-when-i-use-the-slf4j-api].
> And additionally the URL is incorrect, it should be (i.e. without spaces / {{%20}} between the method parameters):
> {code}
> http://www.slf4j.org/api/org/slf4j/spi/LocationAwareLogger.html#log(org.slf4j.Marker,java.lang.String,int,java.lang.String,java.lang.Object%5B%5D,java.lang.Throwable)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)