mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-26 03:42:37 +01:00
* 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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user