Reset all values contained in this hierarchy instance to their default.
ILoggerRepository.ResetConfiguration
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.
Hierarchy Class | log4net.Repository.Hierarchy Namespace