Skip to content

Improve error message if Log4j API implementation missingΒ #3415

@ppkarwasz

Description

@ppkarwasz

As showed by this SO question users might be quite surprised by the error message printed, when no Log4j API implementation is present (or enabled) on the classpath.

The message should probably be similar to the one printed by SLF4J:

SLF4J: No SLF4J providers were found.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#noProviders for further details.

and point to our Installation instructions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    To triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions