Skip to content

log4j 2 throws log4j 1 warnings #1403

Closed

Description

@Nerdy-5

Description

In hierarchy.java, the lines

log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

make it seem, like log4j 1.x is failing to boot up, providing a link to outdated documentation.

Configuration

Version: [2.20.0]

Operating system: [AIX]

JDK: [OpenJDK 11]

Logs

log4j:WARN No appenders could be found for logger (xxx).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

Reproduction

n.a.

Activity

  1. ppkarwasz commented on Nov 24, 2023

    @ppkarwasz
    Member

    Messages starting with log4j:WARN are really generated by Log4j 1.x (or Reload4j, see qos-ch/reload4j#69).

    I am moving this to discussions.

  2. locked and limited conversation to collaborators on Nov 24, 2023
  3. converted this issue into a discussion #2003 on Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions