AppenderSkeletonOnClose Method Apache log4net™ SDK Documentation
Is called when the appender is closed. Derived classes should override this method if resources need to be released.

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 4.0

protected virtual void OnClose()

Releases any resources allocated within the appender such as file handles, network connections, etc.

It is a programming error to append to a closed appender.

See Also