log_athena.conf 6.1 KB

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