Log4net is a popular open-source logging library for .NET applications, part of the Apache Logging Services project. It provides a flexible way to write logs to various output targets like files, ...
Configuring Log4VFP Log4NET uses a configuration file to determine how, where, and when to log. I won't go into detail on this because it's discussed at great length in the Log4NET documentation.