diff options
author | Justin Clark-Casey (justincc) | 2013-12-14 01:34:28 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-12-14 01:34:28 +0000 |
commit | 996a6c2eeacf25456d2ffc12e59c34240cf8a578 (patch) | |
tree | 0b9e075e4e5a2e7781152d2f80e3cd87b011bf51 /OpenSim/Framework/Servers/BaseOpenSimServer.cs | |
parent | Convert if-blocks to return statements in small functions such as GetStartPar... (diff) | |
download | opensim-SC-996a6c2eeacf25456d2ffc12e59c34240cf8a578.zip opensim-SC-996a6c2eeacf25456d2ffc12e59c34240cf8a578.tar.gz opensim-SC-996a6c2eeacf25456d2ffc12e59c34240cf8a578.tar.bz2 opensim-SC-996a6c2eeacf25456d2ffc12e59c34240cf8a578.tar.xz |
After previous discussion, put eye-catcher 'SCRIPT READY' messages to console rather than log as warning
The problem with logging at warn is that these aren't actually warnings, and so are false positives to scripts that monitor for problems.
Ideally, log4net would have a separate "status" logging level, but currently we will compromise by putting them to console, as they are user-oriented
Diffstat (limited to 'OpenSim/Framework/Servers/BaseOpenSimServer.cs')
-rw-r--r-- | OpenSim/Framework/Servers/BaseOpenSimServer.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/BaseOpenSimServer.cs b/OpenSim/Framework/Servers/BaseOpenSimServer.cs index 4ab6908..566772d 100644 --- a/OpenSim/Framework/Servers/BaseOpenSimServer.cs +++ b/OpenSim/Framework/Servers/BaseOpenSimServer.cs | |||
@@ -135,8 +135,8 @@ namespace OpenSim.Framework.Servers | |||
135 | 135 | ||
136 | TimeSpan timeTaken = DateTime.Now - m_startuptime; | 136 | TimeSpan timeTaken = DateTime.Now - m_startuptime; |
137 | 137 | ||
138 | m_log.InfoFormat( | 138 | MainConsole.Instance.OutputFormat( |
139 | "[STARTUP]: Non-script portion of startup took {0}m {1}s. PLEASE WAIT FOR LOGINS TO BE ENABLED ON REGIONS ONCE SCRIPTS HAVE STARTED.", | 139 | "PLEASE WAIT FOR LOGINS TO BE ENABLED ON REGIONS ONCE SCRIPTS HAVE STARTED. Non-script portion of startup took {0}m {1}s.", |
140 | timeTaken.Minutes, timeTaken.Seconds); | 140 | timeTaken.Minutes, timeTaken.Seconds); |
141 | } | 141 | } |
142 | 142 | ||