log_athena.conf 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. //--------------------------------------------------------------
  2. // rAthena Log Configuration File
  3. //--------------------------------------------------------------
  4. // Note 1: Value is a config switch (on/off, yes/no or 1/0)
  5. // Note 2: Value is in percents (100 means 100%)
  6. // Note 3: Value is a bit field. If no description is given,
  7. // assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun, 16: Mercenary, 128: NPC, 512: Elemental)
  8. //--------------------------------------------------------------
  9. // Enable Logs? (Note 3)
  10. // 0x00000000 - Don't log at all
  11. // 0x00000001 - (T) Log trades
  12. // 0x00000002 - (V) Log vending transactions
  13. // 0x00000004 - (P) Log items drop/picked by players
  14. // 0x00000008 - (L) Log items drop/looted by monsters
  15. // 0x00000010 - (S) Log NPC transactions (buy/sell)
  16. // 0x00000020 - (N) Log Script transactions (items deleted/acquired through quests)
  17. // 0x00000040 - (D) Log items stolen from mobs (Steal/Gank)
  18. // 0x00000080 - (C) Log player-used items (consumables/pet&hom&merc food/items used for skills&attacks)
  19. // 0x00000100 - (O) Log produced/ingredient items
  20. // 0x00000200 - (U) Log MVP prize items
  21. // 0x00000400 - (A) Log player created/deleted items (through @/# commands)
  22. // 0x00000800 - (R) Log items placed/retrieved from storage.
  23. // 0x00001000 - (G) Log items placed/retrieved from guild storage.
  24. // 0x00002000 - (E) Log mail system transactions.
  25. // 0x00004000 - (I) Log auction system transactions.
  26. // 0x00008000 - (B) Log buying store transactions
  27. // 0x00010000 - (X) Log all other transactions (rentals expiring/inserting cards/items removed by item_check/
  28. // rings deleted by divorce/pet egg (un)hatching/pet armor (un)equipping/Weapon Refine skill/Remove Trap skill/Stylist)
  29. // 0x00020000 - ($) Log cash transactions
  30. // 0x00040000 - (K) Log account bank transactions
  31. // 0x00080000 - (F) Removed bound items when guild/party is broken
  32. // 0x00100000 - (Y) Log Roulette Lottery
  33. // 0x00200000 - (Z) Merged items from item mergers process.
  34. // 0x00400000 - (Q) Log items given from quest-granted drops.
  35. // 0x00800000 - (H) Log items consumed by Private Airship system
  36. // 0x01000000 - (J) Log Barter Shop transactions
  37. // 0x02000000 - (W) Log Laphine system transactions
  38. // 0x04000000 - (0) Enchantgrade UI
  39. // 0x08000000 - (1) Reform UI
  40. // 0x10000000 - (2) Enchant UI
  41. // Example: Log trades+vending+script items+created items: 1+2+32+1024 = 1059
  42. // Please note that moving items from inventory to cart and back is not logged by design.
  43. enable_logs: 0xFFFFFFFF
  44. // Use MySQL Logs? (Note 1)
  45. sql_logs: yes
  46. // LOGGING FILTERS
  47. // =============================================================
  48. // if any condition is true then the item will be logged
  49. // 0 = Don't log at all
  50. // 1 = Log any item
  51. // Advanced Filter Bits by item type: ||
  52. // 0002 - Healing items (0)
  53. // 0004 - Etc Items(3) + Arrows (10)
  54. // 0008 - Usable Items(2) + Lures,Scrolls(11) + Usable Cash Items(18)
  55. // 0016 - Weapon(4)
  56. // 0032 - Shields,Armor,Headgears,Accessories,etc(5)
  57. // 0064 - Cards(6)
  58. // 0128 - Pet Accessories(8) + Eggs(7) (well, monsters don't drop 'em but we'll use the same system for ALL logs)
  59. // 0256 - Log expensive items ( >= price_items_log)
  60. // 0512 - Log big amount of items ( >= amount_items_log)
  61. // 1024 - Log refined items (if their refine >= refine_items_log )
  62. // 2048 - Log rare items (if their drop chance <= rare_items_log )
  63. // Examples: (log filters)
  64. // log_filter: 1 = logs ANY items
  65. // log_filter: 2 = logs only HEALING items
  66. // log_filter: 4 = logs only Etc Items and Arrows
  67. // log_filter: 64 = logs only Cards
  68. // log_filter: 322 = logs only Healing items, Cards and those items which price is >= price_items_log
  69. // log_filter: 4080 = logs all items (including all rare, big amount) exept healing, etc, arrows and useble ones
  70. log_filter: 1
  71. // Log Items which Refine >= refine_items_log
  72. refine_items_log: 5
  73. // Log Items whith min drop rate <= rare_items_log
  74. // 1 = 0.01%, 100 = 1% drop chance, etc
  75. rare_items_log: 100
  76. // don't log it if the current item buy price < price_items_log
  77. price_items_log: 1000
  78. // don't log it if the current item amount < amount_items_log
  79. amount_items_log: 100
  80. //=============================================================
  81. // Log Dead Branch Usage (Note 1)
  82. log_branch: no
  83. // Track Zeny Changes
  84. // Filter settings
  85. // 0 - don't log; 1 - log any zeny changes; 2.....1000000 - minimal absolute logging zeny value
  86. log_zeny: 0
  87. // Track Cash Changes (Note 1)
  88. log_cash: yes
  89. // Log MVP Monster Drops (Note 1)
  90. // Outdated. Use Pick_Log instead. But this log could be useful to keep track slayed MVPs
  91. log_mvpdrop: no
  92. // Log AtCommands & Charcommands (Note 1)
  93. // Only commands issued by player groups ('conf/groups.conf') with
  94. // 'log_commands' setting set to 'true' will be logged.
  95. log_commands: yes
  96. // Log NPC 'logmes' commands (Note 1)
  97. log_npc: yes
  98. // Log CHAT (Global, Whisper, Party, Guild, Main chat, Clan) (Note 3)
  99. // LOGGING FILTERS
  100. // =============================================================
  101. // 0 = Don't log at all
  102. // 1 - Log Global messages
  103. // 2 - Log Whisper messages
  104. // 4 - Log Party messages
  105. // 8 - Log Guild messages
  106. // 16 - Log Main chat messages
  107. // 32 - Log Clan messages
  108. // Example:
  109. // log_chat: 5 = logs both Whisper & Party messages
  110. // log_chat: 8 = logs only Guild messages
  111. // log_chat: 63 = logs everything
  112. log_chat: 0
  113. // Disable chat logging when WoE is running? (Note 1)
  114. log_chat_woe_disable: no
  115. // Log feeding
  116. // Should pet or homunculus feeding be logged? (Note 3)
  117. // 0: Disabled
  118. // 1: Pet
  119. // 2: Homunculus
  120. log_feeding: 3
  121. //Time-stamp format which will be printed for log file.
  122. //Can at most be 20 characters long.
  123. //Common formats:
  124. // %I:%M:%S %p (hour:minute:second 12 hour, AM/PM format)
  125. // %H:%M:%S (hour:minute:second, 24 hour format)
  126. // %d/%b/%Y (day/Month/year)
  127. //For full format information, consult the strftime() manual.
  128. log_timestamp_format: %m/%d/%Y %H:%M:%S
  129. // Logging files/tables
  130. // Following settings specify where to log to. If 'sql_logs' is
  131. // enabled, SQL tables are assumed, otherwise flat files.
  132. // log_gm_db: log/atcommandlog.log
  133. // log_branch_db: log/branchlog.log
  134. // log_chat_db: log/chatlog.log
  135. // log_mvpdrop_db: log/mvplog.log
  136. // log_npc_db: log/npclog.log
  137. // log_pick_db: log/picklog.log
  138. // log_zeny_db: log/zenylog.log
  139. // log_cash_db: log/cashlog.log
  140. // log_feeding_db: log/feedinglog.log
  141. log_gm_db: atcommandlog
  142. log_branch_db: branchlog
  143. log_chat_db: chatlog
  144. log_mvpdrop_db: mvplog
  145. log_npc_db: npclog
  146. log_pick_db: picklog
  147. log_zeny_db: zenylog
  148. log_cash_db: cashlog
  149. log_feeding_db: feedinglog
  150. import: conf/import/log_conf.txt