Example of Appender Additivity
| Logger Name |
Added Appenders |
Additivity Flag |
Output Targets | Comment |
|---|---|---|---|---|
| root | A1 | not applicable | A1 | The root logger does not have a parent. |
| x | A-x1, A-x2 | true | A1, A-x1, A-x2 | Appenders in root are added to appenders in "x". |
| x.y | none | true | A1, A-x1, A-x2 | Appenders of "x" and root.|
| x.y.z | A-xyz1 | true | A1, A-x1, A-x2, A-xyz1 | Appenders in "x.y.z", "x" and root. |
| security | A-sec | false | A-sec | No appender accumulation as the additivity flag is set to
false. |
| security.ACL | none | true | A-sec | Only appenders of "security" as the additivity flag in "security" is
set to false. |
| GET THE DOCS DIRECTLY FROM THE DEVELOPER |
| For up to date and detailed log4j documentation directly from the developer please consider The complete log4j manual. |