Core/Logging:

- Implement sLog.outSQLDriver that will log SQL driver related events (non-content related).
- Queries will now be logged into this file as well instead of normal log file (requires debug build).
- Don´t forget to update your authserver.conf and worldserver.conf
Core/build:
- Fix non-PCH build

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2010-08-26 21:50:54 +02:00
parent 11de1d4369
commit 175fece073
7 changed files with 74 additions and 30 deletions
@@ -412,6 +412,11 @@ CleanCharacterDB = 0
# Log file of arena fights and arena team creations
# Default: "" - do not create arena log file
#
# SQLDriverLogFile
# Log file of SQL driver events.
# For effective query logging you need to build in debug configuration.
# Default: "" - Empty name for disable
#
# LogColors
# Color for messages (format "normal basic detail debug")
# Default: "" - no colors
@@ -540,6 +545,7 @@ GmLogTimestamp = 0
GmLogPerAccount = 0
RaLogFile = "ra_commands.log"
ArenaLogFile = ""
SQLDriverLogFile = ""
LogColors = ""
EnableLogDB = 0
DBLogLevel = 2