diff options
author | Justin Clark-Casey (justincc) | 2012-05-18 00:49:39 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-05-18 00:49:39 +0100 |
commit | 565c73751cd1ac9b09393a0801591ced04d7e635 (patch) | |
tree | af5ff00fdfa8a57edc3cdc491ca102cdc1c54a3f /OpenSim/Tools/pCampBot/pCampBot.cs | |
parent | refactor: move EventQueueGet path generation into common method. Rename some... (diff) | |
download | opensim-SC-565c73751cd1ac9b09393a0801591ced04d7e635.zip opensim-SC-565c73751cd1ac9b09393a0801591ced04d7e635.tar.gz opensim-SC-565c73751cd1ac9b09393a0801591ced04d7e635.tar.bz2 opensim-SC-565c73751cd1ac9b09393a0801591ced04d7e635.tar.xz |
Invoke log4net configurator in pCampBot.exe in order to get OpenSim sylte logging
Diffstat (limited to 'OpenSim/Tools/pCampBot/pCampBot.cs')
-rw-r--r-- | OpenSim/Tools/pCampBot/pCampBot.cs | 3 |
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; | |||
29 | using System.Reflection; | 29 | using System.Reflection; |
30 | using System.Threading; | 30 | using System.Threading; |
31 | using log4net; | 31 | using log4net; |
32 | using log4net.Config; | ||
32 | using Nini.Config; | 33 | using Nini.Config; |
33 | using OpenSim.Framework; | 34 | using OpenSim.Framework; |
34 | using OpenSim.Framework.Console; | 35 | using 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 | { |