Merge "Add LOG.isDebugEnabled to add performance." into stable/boron