
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.

Yes it's a good idea. In general. If you're really concerned about the performance then measure it. David On 7 Aug 2013, at 14:09, Xavier Outhier <xouthier@yahoo.fr> wrote:
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. _______________________________________________ Logback-user mailing list Logback-user@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-user
participants (2)
-
David Roussel
-
Xavier Outhier