Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

Logger.Additivity Property

Gets or sets a value indicating if child loggers inherit their parent's appenders.

[Visual�Basic]
Overridable�Public�Property�Additivity�As�Boolean
[C#]
public�virtual�bool�Additivity�{get;�set;}

Property Value

true if child loggers inherit their parent's appenders.

Remarks

Additivity is set to true by default, that is children inherit the appenders of their ancestors by default. If this variable is set to false then the appenders found in the ancestors of this logger are not used. However, the children of this logger will inherit its appenders, unless the children have their additivity flag set to false too. See the user manual for more details.

See Also

Logger Class | log4net.Repository.Hierarchy Namespace