Gets or sets a value indicating whether to watch the configuration file.
Namespace: log4net.ConfigAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax
Property Value
Type: Booleantrue if the configuration should be watched, false otherwise.
Remarks
If this flag is specified and set to true then the framework will watch the configuration file and will reload the config each time the file is modified.
The config file can only be watched if it is loaded from local disk. In a No-Touch (Smart Client) deployment where the application is downloaded from a web server the config file may not reside on the local disk and therefore it may not be able to watch it.
Note |
---|
Watching configuration is not supported on the SSCLI. |
See Also