From 470161ae2ef67b18fa4432de144a6402a5075814 Mon Sep 17 00:00:00 2001 From: Oren Hurvitz Date: Mon, 30 Jun 2014 18:03:41 +0300 Subject: [PATCH] Write some pCampBot messages to the log --- OpenSim/Tools/pCampBot/Bot.cs | 2 +- OpenSim/Tools/pCampBot/BotManager.cs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/OpenSim/Tools/pCampBot/Bot.cs b/OpenSim/Tools/pCampBot/Bot.cs index 3c07a7ce87..c743568de6 100644 --- a/OpenSim/Tools/pCampBot/Bot.cs +++ b/OpenSim/Tools/pCampBot/Bot.cs @@ -333,7 +333,7 @@ namespace pCampBot // client CreateLibOmvClient(); - if (Client.Network.Login(FirstName, LastName, Password, "pCampBot", StartLocation, "Your name")) + if (Client.Network.Login(FirstName, LastName, Password, "pCampBot", StartLocation, "pCampBot")) { ConnectionState = ConnectionState.Connected; diff --git a/OpenSim/Tools/pCampBot/BotManager.cs b/OpenSim/Tools/pCampBot/BotManager.cs index 36478312fd..8abab1d67e 100644 --- a/OpenSim/Tools/pCampBot/BotManager.cs +++ b/OpenSim/Tools/pCampBot/BotManager.cs @@ -321,7 +321,7 @@ namespace pCampBot private void ConnectBotsInternal(int botCount) { - MainConsole.Instance.OutputFormat( + m_log.InfoFormat( "[BOT MANAGER]: Starting {0} bots connecting to {1}, location {2}, named {3} {4}_", botCount, m_loginUri, @@ -329,9 +329,9 @@ namespace pCampBot m_firstName, m_lastNameStem); - MainConsole.Instance.OutputFormat("[BOT MANAGER]: Delay between logins is {0}ms", LoginDelay); - MainConsole.Instance.OutputFormat("[BOT MANAGER]: BotsSendAgentUpdates is {0}", InitBotSendAgentUpdates); - MainConsole.Instance.OutputFormat("[BOT MANAGER]: InitBotRequestObjectTextures is {0}", InitBotRequestObjectTextures); + m_log.DebugFormat("[BOT MANAGER]: Delay between logins is {0}ms", LoginDelay); + m_log.DebugFormat("[BOT MANAGER]: BotsSendAgentUpdates is {0}", InitBotSendAgentUpdates); + m_log.DebugFormat("[BOT MANAGER]: InitBotRequestObjectTextures is {0}", InitBotRequestObjectTextures); int connectedBots = 0;