Skip to content

Website: API Separation - "Using Log4j2 as an SLF4J Implementation" is outdated/misleading (SLF4J particularly) #1460

@Chealer

Description

@Chealer

Description

The Using Log4j2 as an SLF4J Implementation section of the website's API Separation page contains several outdated elements. For starters, Log4j 2.17 itself is fairly outdated, but most importantly, 1.7.32 is obsoleted by both 1.7.36 and SLF4J 2.

The worse problem is the section refers to SLF4J 1.8, which was never released:

Note that if we were using SLF4J 1.8 instead of 1.7, that requires us to use log4j-slf4j18-impl instead of log4j-slf4j-impl.

However, SLF4J does have version 2, which should not only be documented, but considered the default choice at this point.

I know that POMs (Maven) force precise version so this section is doomed to remain either frequently outdated or costly to maintain (unless versions are removed, perhaps replaced by ellipses). But a note indicating that the versions are likely outdated would help.

If I understand this section correctly, it should mention the term "provider", used by SLF4J to designate an "SLF4J implementation".

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationPull requests or issues that affect documentationslf4jAffects SLF4J integration

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions