[worldserver] ################################################################################################### # ELUNA SETTINGS # # Eluna.Enabled # Description: Enable or disable Eluna LuaEngine # Default: true - (enabled) # false - (disabled) # # Eluna.TraceBack # Description: Sets whether to use debug.traceback function on a lua error or not. # Notice that you can redefine the function. # Default: false - (use default error output) # true - (use debug.traceback function) # # Eluna.ScriptPath # Description: Sets the location of the script folder to load scripts from # The path can be relative or absolute. # Default: "lua_scripts" # # Eluna.PlayerAnnounceReload # Description: Enable or disable whether the reload announcement is sent to players (Lowest security level). # Default: false - (disabled) # true - (enabled) # Eluna.Enabled = true Eluna.TraceBack = false Eluna.ScriptPath = "lua_scripts" Eluna.PlayerAnnounceReload = false ################################################################################################### # LOGGING SYSTEM SETTINGS # # Appender config values: Given an appender "name" # Appender.name # Description: Defines 'where to log'. # Format: Type,LogLevel,Flags,optional1,optional2,optional3 # # Type # 0 - (None) # 1 - (Console) # 2 - (File) # 3 - (DB) # # LogLevel # 0 - (Disabled) # 1 - (Fatal) # 2 - (Error) # 3 - (Warning) # 4 - (Info) # 5 - (Debug) # 6 - (Trace) # # Flags: # 0 - None # 1 - Prefix Timestamp to the text # 2 - Prefix Log Level to the text # 4 - Prefix Log Filter type to the text # 8 - Append timestamp to the log file name. Format: YYYY-MM-DD_HH-MM-SS # (Only used with Type = 2) # 16 - Make a backup of existing file before overwrite # (Only used with Mode = w) # # Colors (read as optional1 if Type = Console) # Format: "fatal error warn info debug trace" # 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: "1 9 3 6 5 8" # # File: Name of the file (read as optional1 if Type = File) # Allows to use one "%s" to create dynamic files # # Mode: Mode to open the file (read as optional2 if Type = File) # a - (Append) # w - (Overwrite) # # MaxFileSize: Maximum file size of the log file before creating a new log file # (read as optional3 if Type = File) # Size is measured in bytes expressed in a 64-bit unsigned integer. # Maximum value is 4294967295 (4 GB). Leave blank for no limit. # NOTE: Does not work with dynamic filenames. # Example: 536870912 (512 MB) # Appender.ElunaLog=2,5,0,eluna.log,w Appender.ElunaConsole=1,4,0,"0 9 0 3 5 0" # Logger config values: Given a logger "name" # Logger.name # Description: Defines 'What to log' # Format: LogLevel,AppenderList # # LogLevel # 0 - (Disabled) # 1 - (Fatal) # 2 - (Error) # 3 - (Warning) # 4 - (Info) # 5 - (Debug) # 6 - (Trace) # # AppenderList: List of appenders linked to logger # (Using spaces as separator). # Logger.eluna=6,ElunaLog ElunaConsole