Skip to content

SessionPool logging is using wrong object string to replace #3235

Closed

Description

@carlzogh

Class: com.google.cloud.spanner.SessionPool
Function: PoolMaintainer.closeIdleSessions(Instant currTime)

logger.log(Level.FINE, "Closing session %s", sess.getName());
Should instead be
logger.log(Level.FINE, "Closing session {0}", sess.getName());
to replace {0} with sess.getName(), otherwise all it's logging is Closing session %s

Activity

  1. pongad commented on May 8, 2018

    @pongad
    Contributor

    Closed by #3224

  2. pongad commented on May 8, 2018

    @pongad
    Contributor

    Sorry closed wrong issue 😢

  3. reopened this on May 8, 2018
  4. self-assigned this
    on May 8, 2018
  5. added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    priority: p2Moderately-important priority. Fix may not be included in next release.
    on May 8, 2018
  6. added a commit that references this issue on May 8, 2018
    260e93d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions