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: log4j-dev@logging.apache.org
          Reporter: daniel.thiba...@drdc-rddc.gc.ca
                CC: log4j-dev@logging.apache.org

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: log4j-dev-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-dev-h...@logging.apache.org

Reply via email to