mirror of
https://github.com/araxiaonline/TrinityCore2.git
synced 2026-06-13 03:22:40 -04:00
Add missing Copyright headers and some clarification to config files...
This commit is contained in:
@@ -68,6 +68,89 @@ BindIP = "0.0.0.0"
|
||||
|
||||
PidFile = ""
|
||||
|
||||
#
|
||||
# UseProcessors
|
||||
# Description: Processors mask for Windows based multi-processor systems.
|
||||
# Default: 0 - (Selected by OS)
|
||||
# 1+ - (Bit mask value of selected processors)
|
||||
|
||||
UseProcessors = 0
|
||||
|
||||
#
|
||||
# ProcessPriority
|
||||
# Description: Process priority setting for Windows based systems.
|
||||
# Default: 1 - (High)
|
||||
# 0 - (Normal)
|
||||
|
||||
ProcessPriority = 1
|
||||
|
||||
#
|
||||
# RealmsStateUpdateDelay
|
||||
# Description: Time (in seconds) between realm list updates.
|
||||
# Default: 20 - (Enabled)
|
||||
# 0 - (Disabled)
|
||||
|
||||
RealmsStateUpdateDelay = 20
|
||||
|
||||
#
|
||||
# WrongPass.MaxCount
|
||||
# Description: Number of login attemps with wrong password before the account or IP will be
|
||||
# banned.
|
||||
# Default: 0 - (Disabled)
|
||||
# 1+ - (Enabled)
|
||||
|
||||
WrongPass.MaxCount = 0
|
||||
|
||||
#
|
||||
# WrongPass.BanTime
|
||||
# Description: Time (in seconds) for banning account or IP for invalid login attempts.
|
||||
# Default: 600 - (10 minutes)
|
||||
# 0 - (Permanent ban)
|
||||
|
||||
WrongPass.BanTime = 600
|
||||
|
||||
#
|
||||
# WrongPass.BanType
|
||||
# Description: Ban type for invalid login attempts.
|
||||
# Default: 0 - (Ban IP)
|
||||
# 1 - (Ban Account)
|
||||
|
||||
WrongPass.BanType = 0
|
||||
|
||||
#
|
||||
###################################################################################################
|
||||
|
||||
###################################################################################################
|
||||
# MYSQL SETTINGS
|
||||
#
|
||||
# LoginDatabaseInfo
|
||||
# Description: Database connection settings for the realm server.
|
||||
# Example: "hostname;port;username;password;database"
|
||||
# ".;somenumber;username;password;database" - (Use named pipes on Windows
|
||||
# "enable-named-pipe" to [mysqld]
|
||||
# section my.ini)
|
||||
# ".;/path/to/unix_socket;username;password;database" - (use Unix sockets on
|
||||
# Unix/Linux)
|
||||
# Default: "127.0.0.1;3306;trinity;trinity;auth"
|
||||
|
||||
LoginDatabaseInfo = "127.0.0.1;3306;trinity;trinity;auth"
|
||||
|
||||
#
|
||||
# LoginDatabase.WorkerThreads
|
||||
# Description: The amount of worker threads spawned to handle asynchronous (delayed) MySQL
|
||||
# statements. Each worker thread is mirrored with its own connection to the
|
||||
# Default: 1
|
||||
|
||||
LoginDatabase.WorkerThreads = 1
|
||||
|
||||
#
|
||||
###################################################################################################
|
||||
|
||||
###################################################################################################
|
||||
#
|
||||
# Logging system options.
|
||||
# Note: As it uses dynamic option naming, all options related to one appender or logger are grouped.
|
||||
#
|
||||
#
|
||||
# Appender config values: Given a appender "name" the following options
|
||||
# can be read:
|
||||
@@ -187,81 +270,3 @@ Appender.Auth.Mode=w
|
||||
Logger.root.Type=0
|
||||
Logger.root.Level=3
|
||||
Logger.root.Appenders=Console Auth
|
||||
|
||||
#
|
||||
# UseProcessors
|
||||
# Description: Processors mask for Windows based multi-processor systems.
|
||||
# Default: 0 - (Selected by OS)
|
||||
# 1+ - (Bit mask value of selected processors)
|
||||
|
||||
UseProcessors = 0
|
||||
|
||||
#
|
||||
# ProcessPriority
|
||||
# Description: Process priority setting for Windows based systems.
|
||||
# Default: 1 - (High)
|
||||
# 0 - (Normal)
|
||||
|
||||
ProcessPriority = 1
|
||||
|
||||
#
|
||||
# RealmsStateUpdateDelay
|
||||
# Description: Time (in seconds) between realm list updates.
|
||||
# Default: 20 - (Enabled)
|
||||
# 0 - (Disabled)
|
||||
|
||||
RealmsStateUpdateDelay = 20
|
||||
|
||||
#
|
||||
# WrongPass.MaxCount
|
||||
# Description: Number of login attemps with wrong password before the account or IP will be
|
||||
# banned.
|
||||
# Default: 0 - (Disabled)
|
||||
# 1+ - (Enabled)
|
||||
|
||||
WrongPass.MaxCount = 0
|
||||
|
||||
#
|
||||
# WrongPass.BanTime
|
||||
# Description: Time (in seconds) for banning account or IP for invalid login attempts.
|
||||
# Default: 600 - (10 minutes)
|
||||
# 0 - (Permanent ban)
|
||||
|
||||
WrongPass.BanTime = 600
|
||||
|
||||
#
|
||||
# WrongPass.BanType
|
||||
# Description: Ban type for invalid login attempts.
|
||||
# Default: 0 - (Ban IP)
|
||||
# 1 - (Ban Account)
|
||||
|
||||
WrongPass.BanType = 0
|
||||
|
||||
#
|
||||
###################################################################################################
|
||||
|
||||
###################################################################################################
|
||||
# MYSQL SETTINGS
|
||||
#
|
||||
# LoginDatabaseInfo
|
||||
# Description: Database connection settings for the realm server.
|
||||
# Example: "hostname;port;username;password;database"
|
||||
# ".;somenumber;username;password;database" - (Use named pipes on Windows
|
||||
# "enable-named-pipe" to [mysqld]
|
||||
# section my.ini)
|
||||
# ".;/path/to/unix_socket;username;password;database" - (use Unix sockets on
|
||||
# Unix/Linux)
|
||||
# Default: "127.0.0.1;3306;trinity;trinity;auth"
|
||||
|
||||
LoginDatabaseInfo = "127.0.0.1;3306;trinity;trinity;auth"
|
||||
|
||||
#
|
||||
# LoginDatabase.WorkerThreads
|
||||
# Description: The amount of worker threads spawned to handle asynchronous (delayed) MySQL
|
||||
# statements. Each worker thread is mirrored with its own connection to the
|
||||
# Default: 1
|
||||
|
||||
LoginDatabase.WorkerThreads = 1
|
||||
|
||||
#
|
||||
###################################################################################################
|
||||
|
||||
@@ -1,3 +1,20 @@
|
||||
/*
|
||||
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "Appender.h"
|
||||
#include "Common.h"
|
||||
|
||||
|
||||
@@ -1,3 +1,20 @@
|
||||
/*
|
||||
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef APPENDER_H
|
||||
#define APPENDER_H
|
||||
|
||||
|
||||
@@ -1,3 +1,20 @@
|
||||
/*
|
||||
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "AppenderConsole.h"
|
||||
#include "Config.h"
|
||||
#include "Util.h"
|
||||
|
||||
@@ -1,3 +1,20 @@
|
||||
/*
|
||||
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef APPENDERCONSOLE_H
|
||||
#define APPENDERCONSOLE_H
|
||||
|
||||
|
||||
@@ -1,3 +1,20 @@
|
||||
/*
|
||||
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "AppenderDB.h"
|
||||
|
||||
/* FIXME
|
||||
|
||||
@@ -1,3 +1,20 @@
|
||||
/*
|
||||
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef APPENDERDB_H
|
||||
#define APPENDERDB_H
|
||||
|
||||
|
||||
@@ -1,3 +1,20 @@
|
||||
/*
|
||||
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "AppenderFile.h"
|
||||
#include "Common.h"
|
||||
|
||||
|
||||
@@ -1,3 +1,20 @@
|
||||
/*
|
||||
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef APPENDERFILE_H
|
||||
#define APPENDERFILE_H
|
||||
|
||||
|
||||
@@ -1,3 +1,20 @@
|
||||
/*
|
||||
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "LogOperation.h"
|
||||
#include "Logger.h"
|
||||
|
||||
|
||||
@@ -1,3 +1,20 @@
|
||||
/*
|
||||
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LOGOPERATION_H
|
||||
#define LOGOPERATION_H
|
||||
|
||||
|
||||
@@ -1,3 +1,20 @@
|
||||
/*
|
||||
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "LogWorker.h"
|
||||
|
||||
LogWorker::LogWorker()
|
||||
|
||||
@@ -1,3 +1,20 @@
|
||||
/*
|
||||
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LOGWORKER_H
|
||||
#define LOGWORKER_H
|
||||
|
||||
|
||||
@@ -1,3 +1,20 @@
|
||||
/*
|
||||
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "Logger.h"
|
||||
|
||||
Logger::Logger(): name(""), type(LOG_FILTER_GENERAL), level(LOG_LEVEL_DISABLED)
|
||||
|
||||
@@ -1,3 +1,20 @@
|
||||
/*
|
||||
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LOGGER_H
|
||||
#define LOGGER_H
|
||||
|
||||
|
||||
@@ -403,177 +403,6 @@ PersistentCharacterCleanFlags = 0
|
||||
|
||||
PidFile = ""
|
||||
|
||||
#
|
||||
# Appender config values: Given a appender "name" the following options
|
||||
# can be read:
|
||||
#
|
||||
# Appender.name.Type
|
||||
# Description: Type of appender. Extra appender config options
|
||||
# will be read depending on this value
|
||||
# Default: 0 - (None)
|
||||
# 1 - (Console)
|
||||
# 2 - (File)
|
||||
# 3 - (DB)
|
||||
#
|
||||
# Appender.name.Level
|
||||
# Description: Appender level of logging
|
||||
# Default: 0 - (Disabled)
|
||||
# 1 - (Trace)
|
||||
# 2 - (Debug)
|
||||
# 3 - (Info)
|
||||
# 4 - (Warn)
|
||||
# 5 - (Error)
|
||||
# 6 - (Fatal)
|
||||
#
|
||||
# Appender.name.Colors
|
||||
# Description: Colors for log messages
|
||||
# (Format: "fatal error warn info debug trace").
|
||||
# (Only used with Type = 1)
|
||||
# Default: "" - no colors
|
||||
# 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
|
||||
# Example: "13 11 9 5 3 1"
|
||||
#
|
||||
# Appender.name.File
|
||||
# Description: Name of the file
|
||||
# Allows to use one "%u" to create dynamic files
|
||||
# (Only used with Type = 2)
|
||||
#
|
||||
# Appender.name.Mode
|
||||
# Description: Mode to open the file
|
||||
# (Only used with Type = 2)
|
||||
# Default: a - (Append)
|
||||
# w - (Overwrite)
|
||||
#
|
||||
# Appender.name.Backup
|
||||
# Description: Make a backup of existing file before overwrite
|
||||
# (Only used with Mode = w)
|
||||
# Default: 0 - false
|
||||
# 1 - true
|
||||
#
|
||||
# Appender.name.Timestamp
|
||||
# Description: Append timestamp to the log file name.
|
||||
# Logname_YYYY-MM-DD_HH-MM-SS.Ext for Logname.Ext
|
||||
# (Only used with Type = 2)
|
||||
#
|
||||
# Logger config values: Given a logger "name" the following options
|
||||
# can be read:
|
||||
#
|
||||
# Logger.name.Type
|
||||
# Description: Type of logger. Logs anything related to...
|
||||
# If no logger with type = 0 exists core will create
|
||||
# it but disabled. Logger with type = 0 is the
|
||||
# default one, used when there is no other specific
|
||||
# logger configured for other logger types
|
||||
# Default: 0 - Default. Each type that has no config will
|
||||
# rely on this one. Core will create this logger
|
||||
# (disabled) if it's not configured
|
||||
# 1 - Units that doesn't fit in other categories
|
||||
# 2 - Pets
|
||||
# 3 - Vehicles
|
||||
# 4 - C++ AI, instance scripts, etc.
|
||||
# 5 - DB AI, such as SAI, EAI, CreatureAI
|
||||
# 6 - DB map scripts
|
||||
# 7 - Network input/output,
|
||||
# such as packet handlers and netcode logs
|
||||
# 8 - Spellsystem and aurasystem
|
||||
# 9 - Achievement system
|
||||
# 10 - Condition system
|
||||
# 11 - Pool system
|
||||
# 12 - Auction house
|
||||
# 13 - Arena's and battlegrounds
|
||||
# 14 - Outdoor PVP
|
||||
# 15 - Chat system
|
||||
# 16 - LFG system
|
||||
# 17 - Maps, instances (not scripts),
|
||||
# grids, cells, visibility, etc.
|
||||
# 18 - Player that doesn't fit in other categories.
|
||||
# 19 - Player loading from DB
|
||||
# (Player::_LoadXXX functions)
|
||||
# 20 - Items
|
||||
# 21 - Player skills (do not confuse with spells)
|
||||
# 22 - Player chat logs
|
||||
# 23 - loot
|
||||
# 24 - guilds
|
||||
# 25 - transports
|
||||
# 26 - SQL. DB errors and SQL Driver
|
||||
# 27 - GM Commands
|
||||
# 28 - Remote Access Commands
|
||||
# 29 - Warden
|
||||
# 30 - Authserver
|
||||
# 31 - Worldserver
|
||||
# 32 - Game Events
|
||||
# 33 - Calendar
|
||||
#
|
||||
# Logger.name.Level
|
||||
# Description: Logger level of logging
|
||||
# Default: 0 - (Disabled)
|
||||
# 1 - (Trace)
|
||||
# 2 - (Debug)
|
||||
# 3 - (Info)
|
||||
# 4 - (Warn)
|
||||
# 5 - (Error)
|
||||
# 6 - (Fatal)
|
||||
#
|
||||
# Logger.name.Appenders
|
||||
# Description: List of appenders linked to logger
|
||||
# (Using spaces as separator).
|
||||
|
||||
#
|
||||
# Appenders
|
||||
# Description: List of Appenders to read from config
|
||||
# (Using spaces as separator).
|
||||
# Default: "Console Server"
|
||||
#
|
||||
# Loggers
|
||||
# Description: List of Loggers to read from config
|
||||
# (Using spaces as separator).
|
||||
# Default: "root"
|
||||
|
||||
Loggers=root GM SQL
|
||||
Appenders=Console Server GM SQL
|
||||
|
||||
Appender.Console.Type=1
|
||||
Appender.Console.Level=2
|
||||
|
||||
Appender.Server.Type=2
|
||||
Appender.Server.Level=2
|
||||
Appender.Server.File=Server.log
|
||||
Appender.Server.Mode=w
|
||||
|
||||
Appender.GM.Type=2
|
||||
Appender.GM.Level=2
|
||||
Appender.GM.File=gm_#%u.log
|
||||
|
||||
Appender.SQL.Type=2
|
||||
Appender.SQL.Level=2
|
||||
Appender.SQL.File=SQL.log
|
||||
|
||||
Logger.root.Type=0
|
||||
Logger.root.Level=3
|
||||
Logger.root.Appenders=Console Server
|
||||
|
||||
Logger.SQL.Type=26
|
||||
Logger.SQL.Level=3
|
||||
Logger.SQL.Appenders=Console Server SQL
|
||||
|
||||
Logger.GM.Type=27
|
||||
Logger.GM.Level=3
|
||||
Logger.GM.Appenders=Console Server GM
|
||||
|
||||
#
|
||||
# ChatLogs.Channel
|
||||
# Description: Log custom channel chat.
|
||||
@@ -648,6 +477,7 @@ ChatLogs.Addon = 0
|
||||
|
||||
ChatLogs.BattleGround = 0
|
||||
|
||||
# Extended Logging system configuration moved to end of file (on purpose)
|
||||
#
|
||||
###################################################################################################
|
||||
|
||||
@@ -2746,3 +2576,178 @@ PlayerDump.DisallowOverwrite = 1
|
||||
|
||||
#
|
||||
###################################################################################################
|
||||
|
||||
###################################################################################################
|
||||
#
|
||||
# Logging system options.
|
||||
# Note: As it uses dynamic option naming, all options related to one appender or logger are grouped.
|
||||
#
|
||||
#
|
||||
# Appender config values: Given a appender "name" the following options
|
||||
# can be read:
|
||||
#
|
||||
# Appender.name.Type
|
||||
# Description: Type of appender. Extra appender config options
|
||||
# will be read depending on this value
|
||||
# Default: 0 - (None)
|
||||
# 1 - (Console)
|
||||
# 2 - (File)
|
||||
# 3 - (DB)
|
||||
#
|
||||
# Appender.name.Level
|
||||
# Description: Appender level of logging
|
||||
# Default: 0 - (Disabled)
|
||||
# 1 - (Trace)
|
||||
# 2 - (Debug)
|
||||
# 3 - (Info)
|
||||
# 4 - (Warn)
|
||||
# 5 - (Error)
|
||||
# 6 - (Fatal)
|
||||
#
|
||||
# Appender.name.Colors
|
||||
# Description: Colors for log messages
|
||||
# (Format: "fatal error warn info debug trace").
|
||||
# (Only used with Type = 1)
|
||||
# Default: "" - no colors
|
||||
# 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
|
||||
# Example: "13 11 9 5 3 1"
|
||||
#
|
||||
# Appender.name.File
|
||||
# Description: Name of the file
|
||||
# Allows to use one "%u" to create dynamic files
|
||||
# (Only used with Type = 2)
|
||||
#
|
||||
# Appender.name.Mode
|
||||
# Description: Mode to open the file
|
||||
# (Only used with Type = 2)
|
||||
# Default: a - (Append)
|
||||
# w - (Overwrite)
|
||||
#
|
||||
# Appender.name.Backup
|
||||
# Description: Make a backup of existing file before overwrite
|
||||
# (Only used with Mode = w)
|
||||
# Default: 0 - false
|
||||
# 1 - true
|
||||
#
|
||||
# Appender.name.Timestamp
|
||||
# Description: Append timestamp to the log file name.
|
||||
# Logname_YYYY-MM-DD_HH-MM-SS.Ext for Logname.Ext
|
||||
# (Only used with Type = 2)
|
||||
#
|
||||
# Logger config values: Given a logger "name" the following options
|
||||
# can be read:
|
||||
#
|
||||
# Logger.name.Type
|
||||
# Description: Type of logger. Logs anything related to...
|
||||
# If no logger with type = 0 exists core will create
|
||||
# it but disabled. Logger with type = 0 is the
|
||||
# default one, used when there is no other specific
|
||||
# logger configured for other logger types
|
||||
# Default: 0 - Default. Each type that has no config will
|
||||
# rely on this one. Core will create this logger
|
||||
# (disabled) if it's not configured
|
||||
# 1 - Units that doesn't fit in other categories
|
||||
# 2 - Pets
|
||||
# 3 - Vehicles
|
||||
# 4 - C++ AI, instance scripts, etc.
|
||||
# 5 - DB AI, such as SAI, EAI, CreatureAI
|
||||
# 6 - DB map scripts
|
||||
# 7 - Network input/output,
|
||||
# such as packet handlers and netcode logs
|
||||
# 8 - Spellsystem and aurasystem
|
||||
# 9 - Achievement system
|
||||
# 10 - Condition system
|
||||
# 11 - Pool system
|
||||
# 12 - Auction house
|
||||
# 13 - Arena's and battlegrounds
|
||||
# 14 - Outdoor PVP
|
||||
# 15 - Chat system
|
||||
# 16 - LFG system
|
||||
# 17 - Maps, instances (not scripts),
|
||||
# grids, cells, visibility, etc.
|
||||
# 18 - Player that doesn't fit in other categories.
|
||||
# 19 - Player loading from DB
|
||||
# (Player::_LoadXXX functions)
|
||||
# 20 - Items
|
||||
# 21 - Player skills (do not confuse with spells)
|
||||
# 22 - Player chat logs
|
||||
# 23 - loot
|
||||
# 24 - guilds
|
||||
# 25 - transports
|
||||
# 26 - SQL. DB errors and SQL Driver
|
||||
# 27 - GM Commands
|
||||
# 28 - Remote Access Commands
|
||||
# 29 - Warden
|
||||
# 30 - Authserver
|
||||
# 31 - Worldserver
|
||||
# 32 - Game Events
|
||||
# 33 - Calendar
|
||||
#
|
||||
# Logger.name.Level
|
||||
# Description: Logger level of logging
|
||||
# Default: 0 - (Disabled)
|
||||
# 1 - (Trace)
|
||||
# 2 - (Debug)
|
||||
# 3 - (Info)
|
||||
# 4 - (Warn)
|
||||
# 5 - (Error)
|
||||
# 6 - (Fatal)
|
||||
#
|
||||
# Logger.name.Appenders
|
||||
# Description: List of appenders linked to logger
|
||||
# (Using spaces as separator).
|
||||
#
|
||||
# Appenders
|
||||
# Description: List of Appenders to read from config
|
||||
# (Using spaces as separator).
|
||||
# Default: "Console Server"
|
||||
#
|
||||
# Loggers
|
||||
# Description: List of Loggers to read from config
|
||||
# (Using spaces as separator).
|
||||
# Default: "root"
|
||||
|
||||
Loggers=root GM SQL
|
||||
Appenders=Console Server GM SQL
|
||||
|
||||
Appender.Console.Type=1
|
||||
Appender.Console.Level=2
|
||||
|
||||
Appender.Server.Type=2
|
||||
Appender.Server.Level=2
|
||||
Appender.Server.File=Server.log
|
||||
Appender.Server.Mode=w
|
||||
|
||||
Appender.GM.Type=2
|
||||
Appender.GM.Level=2
|
||||
Appender.GM.File=gm_#%u.log
|
||||
|
||||
Appender.SQL.Type=2
|
||||
Appender.SQL.Level=2
|
||||
Appender.SQL.File=SQL.log
|
||||
|
||||
Logger.root.Type=0
|
||||
Logger.root.Level=3
|
||||
Logger.root.Appenders=Console Server
|
||||
|
||||
Logger.SQL.Type=26
|
||||
Logger.SQL.Level=3
|
||||
Logger.SQL.Appenders=Console Server SQL
|
||||
|
||||
Logger.GM.Type=27
|
||||
Logger.GM.Level=3
|
||||
Logger.GM.Appenders=Console Server GM
|
||||
|
||||
Reference in New Issue
Block a user