Avoid redundant log level checking in StandardQueryCache

Description

StandardQueryCache makes heavy use of logging statements, but isn't reusing the log level which isn't optimal performance-wise.

Environment

None

Status

Assignee

Brett Meyer

Reporter

Sanne Grinovero

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Priority

Minor