LoggerAdditivity Property Apache log4net™ SDK Documentation
Gets or sets a value indicating if child loggers inherit their parent's appenders.

Namespace: log4net.Repository.Hierarchy
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

public virtual bool Additivity { get; set; }

Property Value

Type: Boolean
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

Reference