diff options
author | Oren Hurvitz | 2012-04-23 15:31:45 +0300 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-04-24 21:38:09 +0100 |
commit | 2f398231acda79e313c2975ecdd5a6015cb71a54 (patch) | |
tree | b5277aca723d6ccf74ec875d4b6fd05e8c9453c1 /OpenSim/Server/Base/ServerUtils.cs | |
parent | Refactored how asset/inventory types are associated with content types: gathe... (diff) | |
download | opensim-SC-2f398231acda79e313c2975ecdd5a6015cb71a54.zip opensim-SC-2f398231acda79e313c2975ecdd5a6015cb71a54.tar.gz opensim-SC-2f398231acda79e313c2975ecdd5a6015cb71a54.tar.bz2 opensim-SC-2f398231acda79e313c2975ecdd5a6015cb71a54.tar.xz |
Minor improvements to logging
Eliminated an extra newline in the console if the log line doesn't contain a category (example of a category: "[ASSETS]").
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Server/Base/ServerUtils.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Server/Base/ServerUtils.cs b/OpenSim/Server/Base/ServerUtils.cs index 8effdd2..0cc2a4b 100644 --- a/OpenSim/Server/Base/ServerUtils.cs +++ b/OpenSim/Server/Base/ServerUtils.cs | |||
@@ -117,7 +117,10 @@ namespace OpenSim.Server.Base | |||
117 | catch (Exception e) | 117 | catch (Exception e) |
118 | { | 118 | { |
119 | if (!(e is System.MissingMethodException)) | 119 | if (!(e is System.MissingMethodException)) |
120 | m_log.ErrorFormat("Error loading plugin from {0}, exception {1}", dllName, e.InnerException); | 120 | { |
121 | m_log.ErrorFormat("Error loading plugin {0} from {1}. Exception: {2}", | ||
122 | interfaceName, dllName, e.InnerException == null ? e.Message : e.InnerException.Message); | ||
123 | } | ||
121 | return null; | 124 | return null; |
122 | } | 125 | } |
123 | 126 | ||