log4net SDK Reference |

# XmlConfigurator.ConfigureAndWatch Method

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

#### Overload List

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);

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

XmlConfigurator Class | log4net.Config Namespace | Configure