2 * \brief Additivity can turn off the appender chaining.
3 *
4 * <p>
5 * log4j uses a hierarchy of loggers. Log messages are send to all the ancestors's appenders.
6 * </p>
7 * <p>
8 * Using additivity we can turn off this nature.
9 * </p>
10 * <p>
11 * TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF
12 * </p>
13 * <p>
14 * For this example the log file is generated with in the package directory.
15 * </p>
16 * <ul>
17 * <li>FooBeans's appender has been set and it's additivity is false. Hence it's log messages will go in FileLog appender only and not in stdout appender.</li>
18 * <li>BarBeans's appender has been set and additivity is false. Hence it's log messages will go in FileLog appender only and not in stdout appender.</li>
19 * <li>App does not have any appender and additivity is by default true. It's messages will go to rootLogger's appenders stdout and FileLog.</li>
20 * </ul>
21 */
22package com.freemindcafe.apache.log4j.sample1;
Generated on Fri Feb 19 2016 08:35:42 for Samples JDK by 1.8.9.1