https://bz.apache.org/bugzilla/show_bug.cgi?id=58710

            Bug ID: 58710
           Summary: Errors in JavaDoc for
                    org.apache.log4j.Category.shutdown()
           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/apidocs/org/apache/log4j/Category.html

The javaDoc for org.apache.log4j.Category.shutdown() reads in part:

"Calling this method will safely close and remove all appenders in all the
categories including root contained in the default hierachy.

Some appenders such as SocketAppender and AsyncAppender need to be closed
before the application exists. Otherwise, pending logging events might be lost.

The shutdown method is careful to close nested appenders before closing regular
appenders. This is allows configurations where a regular appender is attached
to a category and again to a nested appender."

which should be:

"Calling this method will safely close and remove all appenders in all the
categories (including root) contained in the default hierachy.

Some appenders such as SocketAppender and AsyncAppender need to be closed
before the application exits. Otherwise, pending logging events might be lost.

The shutdown method is careful to close nested appenders before closing regular
appenders. This allows configurations where a regular appender is attached to a
category and again to a nested appender."

-- 
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]

Reply via email to