Skip to content

Log messages have incorrect formatting  #487

Closed

Description

@jayantsing-db

Few log messages are formatted as below:

LOGGER.debug(
        String.format(
            "public ResultSet getIndexInfo(String catalog = {}, String schema = {}, String table = {}, boolean unique = {}, boolean approximate = {})",
            catalog,
            schema,
            table,
            unique,
            approximate));

Java does not support {} in string format. This is supported by SLF4J but driver does not necessarily use SLF4J.
We should use %s.

CC @jprakash-db @samikshya-db @gopalldb

Activity

  1. added
    bug
    good first issue
    on Sep 17, 2024
  2. self-assigned this
    on Sep 25, 2024
  3. jprakash-db commented on Sep 25, 2024

    @jprakash-db
    Collaborator

    @jayantsing-db Resolved this within this PR -#520

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

buggood first issue

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions