From 0838736ce7dce720f0c772c5efb0602712f6777d Mon Sep 17 00:00:00 2001 From: XTZGZoReX Date: Fri, 20 Mar 2009 16:16:16 +0100 Subject: [PATCH] * Missed a config update in realmd. * Correct revision number for SQL update for DB logging. --HG-- branch : trunk rename : sql/updates/2020_realmd.sql => sql/updates/2031_realmd.sql --- .../{2020_realmd.sql => 2031_realmd.sql} | 0 src/realmd/realmd.conf.dist.in | 46 ++++++++++++++----- 2 files changed, 35 insertions(+), 11 deletions(-) rename sql/updates/{2020_realmd.sql => 2031_realmd.sql} (100%) diff --git a/sql/updates/2020_realmd.sql b/sql/updates/2031_realmd.sql similarity index 100% rename from sql/updates/2020_realmd.sql rename to sql/updates/2031_realmd.sql diff --git a/src/realmd/realmd.conf.dist.in b/src/realmd/realmd.conf.dist.in index 72ef1c9012e..e560d1c5b18 100644 --- a/src/realmd/realmd.conf.dist.in +++ b/src/realmd/realmd.conf.dist.in @@ -39,11 +39,6 @@ ConfVersion=2007062001 # 0 = Minimum; 1 = Error; 2 = Detail; 3 = Full/Debug # Default: 0 # -# LogTime -# Include time in server console output [hh:mm:ss] -# Default: 0 (no time) -# 1 (print time) -# # LogFile # Logfile name # Default: "realmd.log" @@ -59,12 +54,35 @@ ConfVersion=2007062001 # 0 = Minimum; 1 = Error; 2 = Detail; 3 = Full/Debug # Default: 0 # -# LogColors -# Color for messages (format "normal_color details_color debug_color error_color) -# Colors: 0 - BLACK, 1 - RED, 2 - GREEN, 3 - BROWN, 4 - BLUE, 5 - MAGENTA, 6 - CYAN, 7 - GREY, -# 8 - YELLOW, 9 - LRED, 10 - LGREEN, 11 - LBLUE, 12 - LMAGENTA, 13 - LCYAN, 14 - WHITE -# Default: "" - none colors -# "13 7 11 9" - for example :) +# EnableLogDB +# Enable/disable logging to database (LogDatabaseInfo). +# Default: 0 - disabled +# 1 - enabled +# +# DBLogLevel +# Log level of DB logging. +# 1 = Basic&Error; 2 = Detail; 3 = Full/Debug +# Default: 3 +# +# LogDB.Char +# Enable/disable logging character outputs to DB. +# Default: 0 - off +# 1 - on +# +# LogDB.GM +# Enable/disable logging GM commands to DB. +# Default: 0 - off +# 1 - on +# +# LogDB.RA +# Enable/disable logging remote access events to DB. +# Default: 0 - off +# 1 - on +# +# LogDB.World +# Enable/disable logging world packets to DB. +# Default: 0 - off +# 1 - on (very heavy) # # UseProcessors # Used processors mask for multi-processors system (Used only at Windows) @@ -114,3 +132,9 @@ RealmsStateUpdateDelay = 20 WrongPass.MaxCount = 0 WrongPass.BanTime = 600 WrongPass.BanType = 0 +EnableLogDB = 0 +DBLogLevel = 1 +LogDB.Char = 0 +LogDB.GM = 0 +LogDB.RA = 0 +LogDB.World = 0