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

Activity

Show:
Carlos Ruiz
February 18, 2013, 9:17 PM
Carlos Ruiz
February 21, 2013, 11:13 PM

Assignee

Richard Morales Herrera

Reporter

Heng Sin Low

Labels

None

Tested By

None

Priority

Minor
Configure