[logback-user] Always defer message creation?
Xavier Outhier
xouthier at yahoo.fr
Wed Aug 7 15:09:59 CEST 2013
Hi,
I would like to know if it will be a good idea to replace in the code
log.debug(request.toString());
into
log.debug("{}",request);
It sounds to me a little overkill but could potentially increase the performance of the application in a non debug mode.
Thanks,
Xavier.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20130807/4f50b49a/attachment.html>
More information about the Logback-user
mailing list