HierarchyResetConfiguration Method Apache log4net™ SDK Documentation
Reset all values contained in this hierarchy instance to their default.

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

public override void ResetConfiguration()

Implements

ILoggerRepositoryResetConfiguration
Remarks

Reset all values contained in this hierarchy instance to their default. This removes all appenders from all loggers, sets the level of all non-root loggers to null, sets their additivity flag to true and sets the level of the root logger to Debug. Moreover, message disabling is set its default "off" value.

Existing loggers are not removed. They are just reset.

This method should be used sparingly and with care as it will block all logging until it is completed.

See Also

Reference