https://issues.apache.org/bugzilla/show_bug.cgi?id=55020
Bug ID: 55020
Summary: bad code fragment in web page
Product: Log4j
Version: 1.2
Hardware: PC
OS: Mac OS X 10.4
Status: NEW
Severity: normal
Priority: P2
Component: Site & Docs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
See http://logging.apache.org/log4j/1.2/manual.html
In that file, you will see:
To avoid the parameter construction cost write:
if(logger.isDebugEnabled() {
logger.debug("Entry number: " + i + " is " +
String.valueOf(entry[i]));
}
There is a missing parenthesis here. Try:
if(logger.isDebugEnabled()) {
Sorry to bother you, but it _is_ an obvious thing.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]