diff options
author | Jeff Ames | 2008-03-17 17:10:53 +0000 |
---|---|---|
committer | Jeff Ames | 2008-03-17 17:10:53 +0000 |
commit | 825c89e7ac2ab2d545e6a45323ee24acd31f6756 (patch) | |
tree | ee1e73db608dba71e4a4c63ce0459e8e25eeb505 /OpenSim/Region/Communications/OGS1 | |
parent | * Remove uninformative exception traces from remoting errors (diff) | |
download | opensim-SC-825c89e7ac2ab2d545e6a45323ee24acd31f6756.zip opensim-SC-825c89e7ac2ab2d545e6a45323ee24acd31f6756.tar.gz opensim-SC-825c89e7ac2ab2d545e6a45323ee24acd31f6756.tar.bz2 opensim-SC-825c89e7ac2ab2d545e6a45323ee24acd31f6756.tar.xz |
Replaced some Console.WriteLine calls with writes to log.
Diffstat (limited to 'OpenSim/Region/Communications/OGS1')
-rw-r--r-- | OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs index f602e374..ea13b1b 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | |||
@@ -328,7 +328,7 @@ namespace OpenSim.Region.Communications.OGS1 | |||
328 | 328 | ||
329 | if (responseData.ContainsKey("error")) | 329 | if (responseData.ContainsKey("error")) |
330 | { | 330 | { |
331 | Console.WriteLine("[OGS1 GRID SERVICES]: Error received from grid server" + responseData["error"]); | 331 | m_log.Error("[OGS1 GRID SERVICES]: Error received from grid server" + responseData["error"]); |
332 | return null; | 332 | return null; |
333 | } | 333 | } |
334 | 334 | ||
@@ -588,7 +588,7 @@ namespace OpenSim.Region.Communications.OGS1 | |||
588 | } | 588 | } |
589 | else | 589 | else |
590 | { | 590 | { |
591 | Console.WriteLine("remoting object not found"); | 591 | m_log.Warn("[OGS1 GRID SERVICES]: remoting object not found"); |
592 | } | 592 | } |
593 | remObject = null; | 593 | remObject = null; |
594 | //m_log.Info("[INTER]: " + | 594 | //m_log.Info("[INTER]: " + |
@@ -699,7 +699,7 @@ namespace OpenSim.Region.Communications.OGS1 | |||
699 | } | 699 | } |
700 | else | 700 | else |
701 | { | 701 | { |
702 | Console.WriteLine("[OGS1 GRID SERVICES]: remoting object not found"); | 702 | m_log.Warn("[OGS1 GRID SERVICES]: remoting object not found"); |
703 | } | 703 | } |
704 | remObject = null; | 704 | remObject = null; |
705 | m_log.Info("[OGS1 GRID SERVICES]: " + | 705 | m_log.Info("[OGS1 GRID SERVICES]: " + |
@@ -812,7 +812,7 @@ namespace OpenSim.Region.Communications.OGS1 | |||
812 | } | 812 | } |
813 | else | 813 | else |
814 | { | 814 | { |
815 | Console.WriteLine("remoting object not found"); | 815 | m_log.Warn("[OGS1 GRID SERVICES]: remoting object not found"); |
816 | } | 816 | } |
817 | remObject = null; | 817 | remObject = null; |
818 | m_log.Info("[INTER]: " + gdebugRegionName + ": OGS1 tried to inform region I'm up"); | 818 | m_log.Info("[INTER]: " + gdebugRegionName + ": OGS1 tried to inform region I'm up"); |
@@ -924,7 +924,7 @@ namespace OpenSim.Region.Communications.OGS1 | |||
924 | } | 924 | } |
925 | else | 925 | else |
926 | { | 926 | { |
927 | Console.WriteLine("[OGS1 GRID SERVICES]: Remoting object not found"); | 927 | m_log.Warn("[OGS1 GRID SERVICES]: Remoting object not found"); |
928 | } | 928 | } |
929 | remObject = null; | 929 | remObject = null; |
930 | 930 | ||
@@ -1010,7 +1010,7 @@ namespace OpenSim.Region.Communications.OGS1 | |||
1010 | } | 1010 | } |
1011 | else | 1011 | else |
1012 | { | 1012 | { |
1013 | Console.WriteLine("[OGS1 GRID SERVICES]: Remoting object not found"); | 1013 | m_log.Warn("[OGS1 GRID SERVICES]: Remoting object not found"); |
1014 | } | 1014 | } |
1015 | remObject = null; | 1015 | remObject = null; |
1016 | 1016 | ||
@@ -1066,7 +1066,7 @@ namespace OpenSim.Region.Communications.OGS1 | |||
1066 | } | 1066 | } |
1067 | else | 1067 | else |
1068 | { | 1068 | { |
1069 | Console.WriteLine("[OGS1 GRID SERVICES]: Remoting object not found"); | 1069 | m_log.Warn("[OGS1 GRID SERVICES]: Remoting object not found"); |
1070 | } | 1070 | } |
1071 | remObject = null; | 1071 | remObject = null; |
1072 | 1072 | ||
@@ -1140,7 +1140,7 @@ namespace OpenSim.Region.Communications.OGS1 | |||
1140 | } | 1140 | } |
1141 | else | 1141 | else |
1142 | { | 1142 | { |
1143 | Console.WriteLine("[OGS1 GRID SERVICES]: Remoting object not found"); | 1143 | m_log.Warn("[OGS1 GRID SERVICES]: Remoting object not found"); |
1144 | } | 1144 | } |
1145 | remObject = null; | 1145 | remObject = null; |
1146 | 1146 | ||