Skip to content

Hk2RequestScope.Instance logger is not static #4665

@pettyjamesm

Description

@pettyjamesm

It appears that Hk2RequestScope.Instance#logger is accidentally created once per instance instead of being declared static, which means it calls into the logging subsystem to get the logger instance on each request. The line of code in question can be found here:

private final ExtendedLogger logger = new ExtendedLogger(Logger.getLogger(Instance.class.getName()), Level.FINEST);

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions