Check log level before calling logging method

Description

All logging call except level severe and warning should be preceded with a level checking to avoid unnecessary overheat ( for e.g, String concatenation ). e.g:

if (log.isLoggable(Level.INFO)) {
log.info(...);
}

Environment

None

Status

Assignee

Richard Morales Herrera

Reporter

Heng Sin Low

Labels

None

Tested By

None

Priority

Minor
Configure