[
https://issues.apache.org/jira/browse/LOG4J2-2925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17486493#comment-17486493
]
ASF subversion and git services commented on LOG4J2-2925:
---------------------------------------------------------
Commit 59f0637a297a39599db470993131936d4045c8c0 in logging-log4j2's branch
refs/heads/release-2.x from Volkan Yazici
[ https://gitbox.apache.org/repos/asf?p=logging-log4j2.git;h=59f0637 ]
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)