Skip to content

Docker broker Log4j config references a missing query log appender #19625

Description

@dlscjf151

Problem

docker/images/pinot/etc/conf/pinot-broker-log4j2.xml defines the rolling-file appender as querylog, but org.apache.pinot.broker.querylog.QueryLogger references queryLog.

<RollingFile name="querylog" ... />
...
<AppenderRef ref="queryLog"/>

Appender names are case-sensitive. Because the query logger also has additivity="false", broker query records are not written to querylog.log and do not fall back to the root appenders.

The non-Docker broker config already references querylog correctly.

Proposed fix

Change the Docker config reference to:

<AppenderRef ref="querylog"/>

Validation

  • Parsed the XML successfully.
  • Verified every AppenderRef resolves to a declared appender after the change.
  • Ran root-scoped Spotless, license, and Checkstyle validation.

Activity

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