We can change it to 
if(logger.isDebugEnabled())
{
       logger.debug("SET:Borrowing object from the pool");
}
a slight performance improvement.