diff options
author | Mike Mazur | 2009-02-16 02:28:43 +0000 |
---|---|---|
committer | Mike Mazur | 2009-02-16 02:28:43 +0000 |
commit | efbb44b98af8b2b4d59c00b90034c10d6966f60f (patch) | |
tree | 67ade6119a3daff93808410263502ec48a448152 /OpenSim/Grid/AssetInventoryServer/AssetInventoryServer.cs | |
parent | - removed OpenSim.Grid.AssetInventoryServer.Metadata class in favor of (diff) | |
download | opensim-SC-efbb44b98af8b2b4d59c00b90034c10d6966f60f.zip opensim-SC-efbb44b98af8b2b4d59c00b90034c10d6966f60f.tar.gz opensim-SC-efbb44b98af8b2b4d59c00b90034c10d6966f60f.tar.bz2 opensim-SC-efbb44b98af8b2b4d59c00b90034c10d6966f60f.tar.xz |
Standardize logging messages.
Diffstat (limited to 'OpenSim/Grid/AssetInventoryServer/AssetInventoryServer.cs')
-rw-r--r-- | OpenSim/Grid/AssetInventoryServer/AssetInventoryServer.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Grid/AssetInventoryServer/AssetInventoryServer.cs b/OpenSim/Grid/AssetInventoryServer/AssetInventoryServer.cs index 4b5af05..07cbade 100644 --- a/OpenSim/Grid/AssetInventoryServer/AssetInventoryServer.cs +++ b/OpenSim/Grid/AssetInventoryServer/AssetInventoryServer.cs | |||
@@ -63,7 +63,7 @@ namespace OpenSim.Grid.AssetInventoryServer | |||
63 | public bool Start() | 63 | public bool Start() |
64 | { | 64 | { |
65 | Startup(); | 65 | Startup(); |
66 | m_log.Info("[ASSETINVENTORY] Starting AssetInventory Server"); | 66 | m_log.Info("[ASSETINVENTORY]: Starting AssetInventory Server"); |
67 | 67 | ||
68 | try | 68 | try |
69 | { | 69 | { |
@@ -71,7 +71,7 @@ namespace OpenSim.Grid.AssetInventoryServer | |||
71 | } | 71 | } |
72 | catch (Exception) | 72 | catch (Exception) |
73 | { | 73 | { |
74 | m_log.Error("[ASSETINVENTORY] Failed to load the config."); | 74 | m_log.Error("[ASSETINVENTORY]: Failed to load the config."); |
75 | return false; | 75 | return false; |
76 | } | 76 | } |
77 | 77 | ||
@@ -92,7 +92,7 @@ namespace OpenSim.Grid.AssetInventoryServer | |||
92 | } | 92 | } |
93 | catch (Exception ex) | 93 | catch (Exception ex) |
94 | { | 94 | { |
95 | m_log.Error("[ASSETINVENTORY] Initializing the HTTP server failed, shutting down: " + ex.Message); | 95 | m_log.Error("[ASSETINVENTORY]: Initializing the HTTP server failed, shutting down: " + ex.Message); |
96 | Shutdown(); | 96 | Shutdown(); |
97 | return false; | 97 | return false; |
98 | } | 98 | } |
@@ -122,18 +122,18 @@ namespace OpenSim.Grid.AssetInventoryServer | |||
122 | { | 122 | { |
123 | foreach (IAssetInventoryServerPlugin plugin in m_frontends) | 123 | foreach (IAssetInventoryServerPlugin plugin in m_frontends) |
124 | { | 124 | { |
125 | m_log.Debug("[ASSETINVENTORY] Disposing plugin " + plugin.Name); | 125 | m_log.Debug("[ASSETINVENTORY]: Disposing plugin " + plugin.Name); |
126 | try { plugin.Dispose(); } | 126 | try { plugin.Dispose(); } |
127 | catch (Exception ex) | 127 | catch (Exception ex) |
128 | { m_log.ErrorFormat("[ASSETINVENTORY] Failure shutting down plugin {0}: {1}", plugin.Name, ex.Message); } | 128 | { m_log.ErrorFormat("[ASSETINVENTORY]: Failure shutting down plugin {0}: {1}", plugin.Name, ex.Message); } |
129 | } | 129 | } |
130 | 130 | ||
131 | foreach (IAssetInventoryServerPlugin plugin in m_backends) | 131 | foreach (IAssetInventoryServerPlugin plugin in m_backends) |
132 | { | 132 | { |
133 | m_log.Debug("[ASSETINVENTORY] Disposing plugin " + plugin.Name); | 133 | m_log.Debug("[ASSETINVENTORY]: Disposing plugin " + plugin.Name); |
134 | try { plugin.Dispose(); } | 134 | try { plugin.Dispose(); } |
135 | catch (Exception ex) | 135 | catch (Exception ex) |
136 | { m_log.ErrorFormat("[ASSETINVENTORY] Failure shutting down plugin {0}: {1}", plugin.Name, ex.Message); } | 136 | { m_log.ErrorFormat("[ASSETINVENTORY]: Failure shutting down plugin {0}: {1}", plugin.Name, ex.Message); } |
137 | } | 137 | } |
138 | 138 | ||
139 | if (HttpServer != null) | 139 | if (HttpServer != null) |
@@ -145,7 +145,7 @@ namespace OpenSim.Grid.AssetInventoryServer | |||
145 | m_httpServer = new BaseHttpServer(port); | 145 | m_httpServer = new BaseHttpServer(port); |
146 | m_httpServer.Start(); | 146 | m_httpServer.Start(); |
147 | 147 | ||
148 | m_log.Info("[ASSETINVENTORY] AssetInventory server is listening on port " + port); | 148 | m_log.Info("[ASSETINVENTORY]: AssetInventory server is listening on port " + port); |
149 | } | 149 | } |
150 | 150 | ||
151 | private IAssetInventoryServerPlugin LoadAssetInventoryServerPlugin(string addinPath, string provider) | 151 | private IAssetInventoryServerPlugin LoadAssetInventoryServerPlugin(string addinPath, string provider) |