Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

Hierarchy.ResetConfiguration�Method�

Reset all values contained in this hierarchy instance to their default.

[Visual�Basic]
Overrides�Public�Sub�ResetConfiguration()�_
����Implements�ILoggerRepository.ResetConfiguration
[C#]
public�override�void�ResetConfiguration();

Implements

ILoggerRepository.ResetConfiguration

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

Hierarchy Class | log4net.Repository.Hierarchy Namespace