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 <[email protected]> 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
> [email protected]
> http://mailman.qos.ch/mailman/listinfo/logback-user
_______________________________________________
Logback-user mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-user

Reply via email to