* 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
+2 -2
View File
@@ -1233,7 +1233,7 @@ void SpellMgr::LoadSpellTargetPositions()
if(found) if(found)
{ {
if(!spellmgr.GetSpellTargetPosition(i)) 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); SpellScriptTargetBounds bounds = spellmgr.GetSpellScriptTargetBounds(i);
if(bounds.first==bounds.second) 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);
} }
} }
+2 -2
View File
@@ -1,7 +1,7 @@
########################################## ##########################################
# Trinity Core worldd configuration file # # Trinity Core worldd configuration file #
########################################## ##########################################
ConfVersion=2009091201 ConfVersion=2009091601
################################################################################################################### ###################################################################################################################
# CONNECTIONS AND DIRECTORIES # CONNECTIONS AND DIRECTORIES
@@ -431,7 +431,7 @@ RaLogFile = "ra_commands.log"
ArenaLogFile = "" ArenaLogFile = ""
LogColors = "" LogColors = ""
EnableLogDB = 0 EnableLogDB = 0
DBLogLevel = 1 DBLogLevel = 2
LogDB.Char = 0 LogDB.Char = 0
LogDB.GM = 0 LogDB.GM = 0
LogDB.RA = 0 LogDB.RA = 0