protected override void SetupLogging()
{
try
{
GlobalRegistry.LoggerFactory = new Log4NetLoggerFactory();
}
catch (Exception ex)
{
throw new XmlException("There was an error reading the XML configuration file. " +
"Check that all custom configurations, such as DatabaseConfig, are well-formed, " +
"spelt correctly and have been declared correctly in configSections. See the " +
"Habanero tutorial for example usage or see official " +
"documentation on configuration files if the error is not resolved.", ex);
}
}
/// <summary>