-
Notifications
You must be signed in to change notification settings - Fork 309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Log with parameterized messages consistently for performance #1712
Comments
+1; also, perhaps everywhere that we've got a log.info(String) call, we can switch to logInfo? |
Yep, that is what I was thinking. |
Sounds good! |
Turns out the parameterized message methods in slf4j aren't so convenient to use from scala
I think the best way forward is to commit to |
Note http://software.clapper.org/grizzled-slf4j/ might be of use. |
Per https://www.slf4j.org/faq.html#logging_performance, logging with parameterized messages
log.info("message {} {}", one, two)
is preferable to alternatives found in our code base
See also mention in comment #1684 (comment)
The text was updated successfully, but these errors were encountered: