diff options
| author | XTZGZoReX <none@none> | 2009-03-25 14:25:15 +0100 |
|---|---|---|
| committer | XTZGZoReX <none@none> | 2009-03-25 14:25:15 +0100 |
| commit | 82e966e5f2862f30e1a661c4fe2e09f5525c4a96 (patch) | |
| tree | c394ead852cb20d4a3753fa5323de16a32090836 /src/trinitycore | |
| parent | 833eaa9ed38e822e4704738fe583aebcbbaa6df6 (diff) | |
* Added support for logging chats: Guild, raid, party, public, officer chat, addon messages, whispers, system/custom channels.
* Added config options to enable/disable them (ChatLogs.*), LogDB.Chat (enables/disables DB logging of chats), and ChatLogFile to specify the log file to use.
--HG--
branch : trunk
Diffstat (limited to 'src/trinitycore')
| -rw-r--r-- | src/trinitycore/trinitycore.conf.dist | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/src/trinitycore/trinitycore.conf.dist b/src/trinitycore/trinitycore.conf.dist index 7e483380843..94af98eac2a 100644 --- a/src/trinitycore/trinitycore.conf.dist +++ b/src/trinitycore/trinitycore.conf.dist @@ -223,6 +223,11 @@ AddonChannel = 1 # Default: "Server.log" # "" - Empty name disable creating log file # +# ChatLogFile +# Log file for chat logs +# Default: "chat.log" +# "" - Empty name for disable +# # LogTimestamp # Logfile with timestamp of server start in name # Default: 0 - no timestamp in name @@ -325,12 +330,53 @@ AddonChannel = 1 # Default: 0 - off # 1 - on (very heavy) # +# LogDB.Chat +# Enable/disable logging chat messages to the database. +# Default: 0 - off +# 1 - on +# +# ChatLogs.Channel +# Enable logging chatting in custom channels. +# Default: 0 - off +# 1 - on +# +# ChatLogs.Whisper +# Enable logging whispers between players. +# Default: 0 - off +# 1 - on +# +# ChatLogs.Party +# Enable logging party messages. +# Default: 0 - off +# 1 - on +# +# ChatLogs.Raid +# Enable logging raid messages. +# Default: 0 - off +# 1 - on +# +# ChatLogs.Guild +# Enable logging guild messages. +# Default: 0 - off +# 1 - on +# +# ChatLogs.Public +# Enable logging public chat events (say/yell/emote). +# Default: 0 - off +# 1 - on +# +# ChatLogs.Addon +# Enable logging addon messages. +# Default: 0 - off +# 1 - on +# ################################################################################################################### LogSQL = 1 PidFile = "" LogLevel = 1 LogFile = "Server.log" +ChatLogFile = "chat.log" LogTimestamp = 0 LogFileLevel = 0 LogFilter_AchievementUpdates = 1 @@ -353,6 +399,15 @@ LogDB.Char = 0 LogDB.GM = 0 LogDB.RA = 0 LogDB.World = 0 +LogDB.Chat = 0 +ChatLogs.Channel = 0 +ChatLogs.SysChan = 0 +ChatLogs.Whisper = 0 +ChatLogs.Party = 0 +ChatLogs.Raid = 0 +ChatLogs.Guild = 0 +ChatLogs.Public = 0 +ChatLogs.Addon = 0 ################################################################################################################### # SERVER SETTINGS |
