Invoke log4net configurator in pCampBot.exe in order to get OpenSim sylte logging

0.7.4.1
Justin Clark-Casey (justincc) 2012-05-18 00:49:39 +01:00
parent 6501b1b1bb
commit 565c73751c
1 changed files with 3 additions and 0 deletions

View File

@ -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)
{