XmlConfiguratorAttributeConfigFile Property Apache log4net™ SDK Documentation
Gets or sets the filename of the configuration file.

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

public string ConfigFile { get; set; }

Property Value

Type: String
The filename of the configuration file.
Remarks

If specified, this is the name of the configuration file to use with the XmlConfigurator. This file path is relative to the application base directory (BaseDirectory).

The ConfigFile takes priority over the ConfigFileExtension.

See Also

Reference