aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tools
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-05-18 00:49:39 +0100
committerJustin Clark-Casey (justincc)2012-05-18 00:49:39 +0100
commit565c73751cd1ac9b09393a0801591ced04d7e635 (patch)
treeaf5ff00fdfa8a57edc3cdc491ca102cdc1c54a3f /OpenSim/Tools
parentrefactor: move EventQueueGet path generation into common method. Rename some... (diff)
downloadopensim-SC_OLD-565c73751cd1ac9b09393a0801591ced04d7e635.zip
opensim-SC_OLD-565c73751cd1ac9b09393a0801591ced04d7e635.tar.gz
opensim-SC_OLD-565c73751cd1ac9b09393a0801591ced04d7e635.tar.bz2
opensim-SC_OLD-565c73751cd1ac9b09393a0801591ced04d7e635.tar.xz
Invoke log4net configurator in pCampBot.exe in order to get OpenSim sylte logging
Diffstat (limited to 'OpenSim/Tools')
-rw-r--r--OpenSim/Tools/pCampBot/pCampBot.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Tools/pCampBot/pCampBot.cs b/OpenSim/Tools/pCampBot/pCampBot.cs
index 52e7501..9e82577 100644
--- a/OpenSim/Tools/pCampBot/pCampBot.cs
+++ b/OpenSim/Tools/pCampBot/pCampBot.cs
@@ -29,6 +29,7 @@ using System;
29using System.Reflection; 29using System.Reflection;
30using System.Threading; 30using System.Threading;
31using log4net; 31using log4net;
32using log4net.Config;
32using Nini.Config; 33using Nini.Config;
33using OpenSim.Framework; 34using OpenSim.Framework;
34using OpenSim.Framework.Console; 35using OpenSim.Framework.Console;
@@ -52,6 +53,8 @@ namespace pCampBot
52 [STAThread] 53 [STAThread]
53 public static void Main(string[] args) 54 public static void Main(string[] args)
54 { 55 {
56 XmlConfigurator.Configure();
57
55 IConfig config = ParseConfig(args); 58 IConfig config = ParseConfig(args);
56 if (config.Get("help") != null || config.Get("loginuri") == null) 59 if (config.Get("help") != null || config.Get("loginuri") == null)
57 { 60 {