minor: make rest (not comm) modules less noisy if they are disabled
parent
e1abc3d4c4
commit
784e78a9e8
|
@ -207,7 +207,7 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory
|
|||
// This plugin will only be enabled if the broader
|
||||
// REST plugin mechanism is enabled.
|
||||
|
||||
Rest.Log.InfoFormat("{0} Plugin is initializing", MsgId);
|
||||
//Rest.Log.InfoFormat("{0} Plugin is initializing", MsgId);
|
||||
|
||||
base.Initialise(openSim);
|
||||
|
||||
|
@ -216,7 +216,7 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory
|
|||
|
||||
if (!IsEnabled)
|
||||
{
|
||||
Rest.Log.WarnFormat("{0} Plugins are disabled", MsgId);
|
||||
//Rest.Log.WarnFormat("{0} Plugins are disabled", MsgId);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -68,9 +68,10 @@ namespace OpenSim.ApplicationPlugins.Rest.Regions
|
|||
base.Initialise(openSim);
|
||||
if (!IsEnabled)
|
||||
{
|
||||
m_log.WarnFormat("{0} Rest Plugins are disabled", MsgID);
|
||||
//m_log.WarnFormat("{0} Rest Plugins are disabled", MsgID);
|
||||
return;
|
||||
}
|
||||
|
||||
m_log.InfoFormat("{0} REST region plugin enabled", MsgID);
|
||||
|
||||
// add REST method handlers
|
||||
|
|
|
@ -216,7 +216,7 @@ namespace OpenSim.ApplicationPlugins.Rest
|
|||
|
||||
if (!_config.GetBoolean("enabled", false))
|
||||
{
|
||||
m_log.WarnFormat("{0} Rest Plugins are disabled", MsgID);
|
||||
//m_log.WarnFormat("{0} Rest Plugins are disabled", MsgID);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue