Skip to content

Fix logging message template in AlluxioMasterProcess #617

Closed
Alluxio/alluxio
#14683
@dbw9580

Description

@dbw9580

The logging message template in AlluxioMasterProcess should use {} as a placeholder, instead of %s.

Change this line of code:

https://github.com/Alluxio/alluxio/blob/e0bd13efcf98c79ef7d7848a22a48fe0408c1680/core/server/master/src/main/java/alluxio/master/AlluxioMasterProcess.java#L194

    LOG.info("Starting all masters as: %s.", (isLeader) ? "leader" : "follower");

to

    LOG.info("Starting all masters as: {}.", (isLeader) ? "leader" : "follower");

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