Marcono1234 created LOG4J2-2925:
-----------------------------------
Summary: 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
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.3.4#803005)