* Changed the logging for missing spell_script_target / spell_script_position

* entries in DB to "debug" level.
* Set the default level for DBLogLevel in trinitycore.conf.dist to 2 "detail"

--HG--
branch : trunk
This commit is contained in:
root@trinity
2009-09-16 13:16:42 -06:00
parent 00409c67cf
commit b07aba2513
2 changed files with 4 additions and 4 deletions

View File

@@ -1233,7 +1233,7 @@ void SpellMgr::LoadSpellTargetPositions()
if(found)
{
if(!spellmgr.GetSpellTargetPosition(i))
sLog.outDetail("Spell (ID: %u) does not have record in `spell_target_position`", i);
sLog.outDebug("Spell (ID: %u) does not have record in `spell_target_position`", i);
}
}
@@ -2057,7 +2057,7 @@ void SpellMgr::LoadSpellScriptTarget()
{
SpellScriptTargetBounds bounds = spellmgr.GetSpellScriptTargetBounds(i);
if(bounds.first==bounds.second)
sLog.outDetail("Spell (ID: %u) does not have record in `spell_script_target`", i);
sLog.outDebug("Spell (ID: %u) does not have record in `spell_script_target`", i);
}
}