mirror of
https://github.com/opensim/opensim.git
synced 2026-05-14 18:55:39 +08:00
fix a typo
This commit is contained in:
@@ -154,14 +154,14 @@ namespace OpenSim.Server.Base
|
||||
MainConsole.Instance.ReadConfig(Config);
|
||||
m_console = MainConsole.Instance;
|
||||
|
||||
if (logConfig != null)
|
||||
if (!string.IsNullOrEmpty(logConfig))
|
||||
{
|
||||
FileInfo cfg = new FileInfo(logConfig);
|
||||
XmlConfigurator.Configure(cfg);
|
||||
}
|
||||
else
|
||||
{
|
||||
XmlConfigurator.Configure();
|
||||
XmlConfigurator.Configure(new FileInfo("Robust.exe.config"));
|
||||
}
|
||||
|
||||
RegisterCommonAppenders(startupConfig);
|
||||
|
||||
Reference in New Issue
Block a user