ConfigureAndWatch Method

log4net SDK Reference |

# DOMConfigurator.ConfigureAndWatch Method

NOTE: This method is now obsolete.

Use XmlConfigurator.ConfigureAndWatch instead of DOMConfigurator.ConfigureAndWatch

Configures the ILoggerRepository using the file specified, monitors the file for changes and reloads the configuration if a change is detected.

#### Overload List

Obsolete. Configures the ILoggerRepository using the file specified, monitors the file for changes and reloads the configuration if a change is detected.

> public static void ConfigureAndWatch(ILoggerRepository,FileInfo);

Obsolete. Configures log4net using the file specified, monitors the file for changes and reloads the configuration if a change is detected.

> public static void ConfigureAndWatch(FileInfo);

#### See Also

DOMConfigurator Class | log4net.Config Namespace | Configure