-
Committer:
Vladislav Vaintroub
-
Date:
2013-05-02 22:04:52 UTC
-
Revision ID:
wlad@montyprogram.com-20130502220452-3v902l7kmlkj2e0a
MySQLProtocol has this like in executeQuery :
log.finest("Executing streamed query: " + dQuery);
Even if log is not activated (which is normally the case), even then relatively expensive string concatenation takes place.It should be avoided by using
log.log(Level.FINEST, "Executing streamed query: {0}", dQuery);
instead.