https://bz.apache.org/bugzilla/show_bug.cgi?id=58709
Bug ID: 58709
Summary: Possibly incorrect code sample
Product: Log4j
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Site & Docs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
http://logging.apache.org/log4j/1.2/manual.html reads in part:
"Configuration
...
static Logger logger = Logger.getLogger(MyApp.class);"
which should instead be:
"Configuration
...
static Logger logger = Logger.getLogger(MyApp.class.getName());"
Later instances of the code snippet are correct.
--
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]