mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 22:26:09 +08:00
Invoke log4net configurator in pCampBot.exe in order to get OpenSim sylte logging
This commit is contained in:
@@ -29,6 +29,7 @@ using System;
|
||||
using System.Reflection;
|
||||
using System.Threading;
|
||||
using log4net;
|
||||
using log4net.Config;
|
||||
using Nini.Config;
|
||||
using OpenSim.Framework;
|
||||
using OpenSim.Framework.Console;
|
||||
@@ -52,6 +53,8 @@ namespace pCampBot
|
||||
[STAThread]
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
XmlConfigurator.Configure();
|
||||
|
||||
IConfig config = ParseConfig(args);
|
||||
if (config.Get("help") != null || config.Get("loginuri") == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user