diff options
author | onefang | 2019-05-19 22:25:06 +1000 |
---|---|---|
committer | onefang | 2019-05-19 22:25:06 +1000 |
commit | 66d7ba733f296f81398a040f05dd945c2facb2b4 (patch) | |
tree | d6935a793caa197684bea427bfa5dc45b8fa9173 /OpenSim/Services | |
parent | Update version number stuff, and hack it into the money display. (diff) | |
download | opensim-SC-66d7ba733f296f81398a040f05dd945c2facb2b4.zip opensim-SC-66d7ba733f296f81398a040f05dd945c2facb2b4.tar.gz opensim-SC-66d7ba733f296f81398a040f05dd945c2facb2b4.tar.bz2 opensim-SC-66d7ba733f296f81398a040f05dd945c2facb2b4.tar.xz |
Various logging fix ups.
Mostly removing console spam.
Default to INFO on the console and DEBUG in the log files.
More time stamp resolution.
Diffstat (limited to 'OpenSim/Services')
-rw-r--r-- | OpenSim/Services/FSAssetService/FSAssetService.cs | 2 | ||||
-rw-r--r-- | OpenSim/Services/GridService/GridService.cs | 4 | ||||
-rw-r--r-- | OpenSim/Services/PresenceService/PresenceService.cs | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Services/FSAssetService/FSAssetService.cs b/OpenSim/Services/FSAssetService/FSAssetService.cs index ca2f459..812d89d 100644 --- a/OpenSim/Services/FSAssetService/FSAssetService.cs +++ b/OpenSim/Services/FSAssetService/FSAssetService.cs | |||
@@ -231,7 +231,7 @@ namespace OpenSim.Services.FSAssetService | |||
231 | double avg = (double)m_readTicks / (double)m_readCount; | 231 | double avg = (double)m_readTicks / (double)m_readCount; |
232 | // if (avg > 10000) | 232 | // if (avg > 10000) |
233 | // Environment.Exit(0); | 233 | // Environment.Exit(0); |
234 | m_log.InfoFormat("[FSASSETS]: Read stats: {0} files, {1} ticks, avg {2:F2}, missing {3}, FS {4}", m_readCount, m_readTicks, (double)m_readTicks / (double)m_readCount, m_missingAssets, m_missingAssetsFS); | 234 | //// m_log.InfoFormat("[FSASSETS]: Read stats: {0} files, {1} ticks, avg {2:F2}, missing {3}, FS {4}", m_readCount, m_readTicks, (double)m_readTicks / (double)m_readCount, m_missingAssets, m_missingAssetsFS); |
235 | } | 235 | } |
236 | m_readCount = 0; | 236 | m_readCount = 0; |
237 | m_readTicks = 0; | 237 | m_readTicks = 0; |
diff --git a/OpenSim/Services/GridService/GridService.cs b/OpenSim/Services/GridService/GridService.cs index a5c7d34..2a2d8a8 100644 --- a/OpenSim/Services/GridService/GridService.cs +++ b/OpenSim/Services/GridService/GridService.cs | |||
@@ -345,7 +345,7 @@ namespace OpenSim.Services.GridService | |||
345 | m_log.DebugFormat("[GRID SERVICE]: Database exception: {0}", e); | 345 | m_log.DebugFormat("[GRID SERVICE]: Database exception: {0}", e); |
346 | } | 346 | } |
347 | 347 | ||
348 | m_log.DebugFormat | 348 | m_log.InfoFormat |
349 | ("[GRID SERVICE]: Region {0} ({1}, {2}x{3}) registered at {4},{5} with flags {6}", | 349 | ("[GRID SERVICE]: Region {0} ({1}, {2}x{3}) registered at {4},{5} with flags {6}", |
350 | regionInfos.RegionName, regionInfos.RegionID, regionInfos.RegionSizeX, regionInfos.RegionSizeY, | 350 | regionInfos.RegionName, regionInfos.RegionID, regionInfos.RegionSizeX, regionInfos.RegionSizeY, |
351 | regionInfos.RegionCoordX, regionInfos.RegionCoordY, | 351 | regionInfos.RegionCoordX, regionInfos.RegionCoordY, |
@@ -374,7 +374,7 @@ namespace OpenSim.Services.GridService | |||
374 | if (region == null) | 374 | if (region == null) |
375 | return false; | 375 | return false; |
376 | 376 | ||
377 | m_log.DebugFormat( | 377 | m_log.InfoFormat( |
378 | "[GRID SERVICE]: Deregistering region {0} ({1}) at {2}-{3}", | 378 | "[GRID SERVICE]: Deregistering region {0} ({1}) at {2}-{3}", |
379 | region.RegionName, region.RegionID, region.coordX, region.coordY); | 379 | region.RegionName, region.RegionID, region.coordX, region.coordY); |
380 | 380 | ||
diff --git a/OpenSim/Services/PresenceService/PresenceService.cs b/OpenSim/Services/PresenceService/PresenceService.cs index ae92919..0392409 100644 --- a/OpenSim/Services/PresenceService/PresenceService.cs +++ b/OpenSim/Services/PresenceService/PresenceService.cs | |||
@@ -88,7 +88,7 @@ namespace OpenSim.Services.PresenceService | |||
88 | { | 88 | { |
89 | PresenceInfo presence = GetAgent(sessionID); | 89 | PresenceInfo presence = GetAgent(sessionID); |
90 | 90 | ||
91 | m_log.DebugFormat("[PRESENCE SERVICE]: LogoutAgent: session {0}, user {1}, region {2}", | 91 | m_log.InfoFormat("[PRESENCE SERVICE]: LogoutAgent: session {0}, user {1}, region {2}", |
92 | sessionID, | 92 | sessionID, |
93 | (presence == null) ? null : presence.UserID, | 93 | (presence == null) ? null : presence.UserID, |
94 | (presence == null) ? null : presence.RegionID.ToString()); | 94 | (presence == null) ? null : presence.RegionID.ToString()); |