Advertisement
Guest User

Untitled

a guest
Jul 5th, 2015
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.31 KB | None | 0 0
  1. ###################################################################################################
  2. # LOGGING SYSTEM SETTINGS
  3. #
  4. # Appender config values: Given a appender "name"
  5. # Appender.name
  6. # Description: Defines 'where to log'
  7. # Format: Type,LogLevel,Flags,optional1,optional2,optional3
  8. #
  9. # Type
  10. # 0 - (None)
  11. # 1 - (Console)
  12. # 2 - (File)
  13. # 3 - (DB)
  14. #
  15. # LogLevel
  16. # 0 - (Disabled)
  17. # 1 - (Trace)
  18. # 2 - (Debug)
  19. # 3 - (Info)
  20. # 4 - (Warn)
  21. # 5 - (Error)
  22. # 6 - (Fatal)
  23. #
  24. # Flags:
  25. # 0 - None
  26. # 1 - Prefix Timestamp to the text
  27. # 2 - Prefix Log Level to the text
  28. # 4 - Prefix Log Filter type to the text
  29. # 8 - Append timestamp to the log file name. Format: YYYY-MM-DD_HH-MM-SS (Only used with Type = 2)
  30. # 16 - Make a backup of existing file before overwrite (Only used with Mode = w)
  31. #
  32. # Colors (read as optional1 if Type = Console)
  33. # Format: "fatal error warn info debug trace"
  34. # 0 - BLACK
  35. # 1 - RED
  36. # 2 - GREEN
  37. # 3 - BROWN
  38. # 4 - BLUE
  39. # 5 - MAGENTA
  40. # 6 - CYAN
  41. # 7 - GREY
  42. # 8 - YELLOW
  43. # 9 - LRED
  44. # 10 - LGREEN
  45. # 11 - LBLUE
  46. # 12 - LMAGENTA
  47. # 13 - LCYAN
  48. # 14 - WHITE
  49. # Example: "13 11 9 5 3 1"
  50. #
  51. # File: Name of the file (read as optional1 if Type = File)
  52. # Allows to use one "%s" to create dynamic files
  53. #
  54. # Mode: Mode to open the file (read as optional2 if Type = File)
  55. # a - (Append)
  56. # w - (Overwrite)
  57. #
  58. # MaxFileSize: Maximum file size of the log file before creating a new log file
  59. # (read as optional3 if Type = File)
  60. # Size is measured in bytes expressed in a 64-bit unsigned integer.
  61. # Maximum value is 4294967295 (4 gb). Leave blank for no limit.
  62. # NOTE: Does not work with dynamic filenames.
  63. # Example: 536870912 (512 mb)
  64. #
  65.  
  66. Appender.Console=1,3,0,5 9 11 13 3 1
  67. Appender.Server=2,2,0,Server.log,w
  68. Appender.GM=2,2,0,GM.log
  69. Appender.DBErrors=2,2,0,DBErrors.log
  70. Appender.Char=2,2,0,Char.log,w
  71. Appender.RA=2,2,0,RA.log
  72. Appender.Warden=2,4,0,Warden.log
  73. Appender.Chat=2,2,0,Chat.log
  74. Appender.CharDump=2,2,0,%s.log
  75. Appender.Arenas=2,2,0,Arena.log
  76. Appender.SQLDev=2,2,0,SQLDev.log
  77. Appender.SQLDriver=2,2,0,SQLDriver.log
  78.  
  79. # Appenders
  80. # Description: List of Appenders to read from config
  81. # (Using spaces as separator).
  82. # Default: "Console Server GM DBErrors Char RA Warden Chat"
  83.  
  84. Appenders=Console Server GM DBErrors Char RA Warden Chat
  85.  
  86. # Logger config values: Given a logger "name"
  87. # Logger.name
  88. # Description: Defines 'What to log'
  89. # Format: Type,LogLevel,AppenderList
  90. # Type
  91. # 0 - Default. Each type that has no config will
  92. # rely on this one. Core will create this logger
  93. # (disabled) if it's not configured
  94. # 1 - Units that doesn't fit in other categories
  95. # 2 - Pets
  96. # 3 - Vehicles
  97. # 4 - C++ AI, instance scripts, etc.
  98. # 5 - DB AI, such as SAI, EAI, CreatureAI
  99. # 6 - DB map scripts
  100. # 7 - Network input/output,
  101. # such as packet handlers and netcode logs
  102. # 8 - Spellsystem and aurasystem
  103. # 9 - Achievement system
  104. # 10 - Condition system
  105. # 11 - Pool system
  106. # 12 - Auction house
  107. # 13 - Arena's and battlegrounds
  108. # 14 - Outdoor PVP
  109. # 15 - Chat system
  110. # 16 - LFG system
  111. # 17 - Maps, instances (not scripts),
  112. # grids, cells, visibility, etc.
  113. # 18 - Player that doesn't fit in other categories.
  114. # 19 - Player loading from DB
  115. # (Player::_LoadXXX functions)
  116. # 20 - Items
  117. # 21 - Player skills (do not confuse with spells)
  118. # 22 - Player chat logs
  119. # 23 - loot
  120. # 24 - guilds
  121. # 25 - transports
  122. # 26 - SQL. DB errors
  123. # 27 - GM Commands
  124. # 28 - Remote Access Commands
  125. # 29 - Warden
  126. # 30 - Authserver
  127. # 31 - Worldserver
  128. # 32 - Game Events
  129. # 33 - Calendar
  130. # 34 - Character (Exclusive to log login, logout, create, rename)
  131. # 35 - Arenas
  132. # 36 - SQL Driver
  133. # 37 - SQL Dev
  134. # 38 - Player Dump
  135. # 39 - Battlefield
  136. # 40 - Server Loading
  137. # 41 - Opcodes (just id and name sent / received)
  138. # 42 - SOAP
  139. #
  140. # LogLevel
  141. # 0 - (Disabled)
  142. # 1 - (Trace)
  143. # 2 - (Debug)
  144. # 3 - (Info)
  145. # 4 - (Warn)
  146. # 5 - (Error)
  147. # 6 - (Fatal)
  148. #
  149. # AppenderList: List of appenders linked to logger
  150. # (Using spaces as separator).
  151. #
  152.  
  153. Logger.Root=0,5,Console Server
  154. Logger.Chat=22,2,Chat
  155. Logger.DBErrors=26,5,Console Server DBErrors
  156. Logger.GM=27,3,Console Server GM
  157. Logger.RA=28,3,RA
  158. Logger.Warden=29,4,Warden
  159. Logger.WorldServer=31,3,Console Server
  160. Logger.Character=34,3,Char
  161. Logger.Arenas=35,3,Arenas
  162. Logger.SQLDriver=36,5,SQLDriver
  163. Logger.SQLDev=37,3,SQLDev
  164. Logger.CharDump=38,3,CharDump
  165. Logger.Load=40,3,Console Server
  166. Logger.Opcodes=41,6,Console Server
  167.  
  168. #
  169. # Loggers
  170. # Description: List of Loggers to read from config
  171. # (Using spaces as separator).
  172. # Default: "Root Chat DBErrors GM RA Warden Character Load"
  173.  
  174. Loggers=Root Chat DBErrors GM RA Warden Character Load WorldServer Opcodes
  175.  
  176. #
  177. ###################################################################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement