summaryrefslogtreecommitdiff
path: root/conf-tmpl/log_athena.conf
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-26 21:56:42 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-26 21:56:42 +0000
commitfff598e4cd2c9678ff99d85dfa498ea1399a2148 (patch)
treea4176ddccaf7f39852a7d90882d1b9cfcf83fe58 /conf-tmpl/log_athena.conf
parent3299e0cf10d83dfa8827a6f538ef1bcf1382ae45 (diff)
downloadhercules-fff598e4cd2c9678ff99d85dfa498ea1399a2148.tar.gz
hercules-fff598e4cd2c9678ff99d85dfa498ea1399a2148.tar.bz2
hercules-fff598e4cd2c9678ff99d85dfa498ea1399a2148.tar.xz
hercules-fff598e4cd2c9678ff99d85dfa498ea1399a2148.zip
added logging filters. optimized ATCommands temp strings usage
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1302 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'conf-tmpl/log_athena.conf')
-rw-r--r--conf-tmpl/log_athena.conf26
1 files changed, 26 insertions, 0 deletions
diff --git a/conf-tmpl/log_athena.conf b/conf-tmpl/log_athena.conf
index 35f5eb055..c1236480a 100644
--- a/conf-tmpl/log_athena.conf
+++ b/conf-tmpl/log_athena.conf
@@ -6,6 +6,32 @@ enable_logs: 1
// Use MySQL Logs? (SQL Version Only)
sql_logs: 0
+// LOGGING FILTERS by Lupus
+//========== It works for Monster Drops yet ========
+what_items_log: 1023
+//0 = none, 1023 = any
+//Bits |
+//1 - Healing items (Potions)
+//2 - Usable Items
+//4 - Etc Items
+//8 - Weapon
+//16 - Shields,Armor,Headgears,Accessories,etc
+//32 - Cards
+//64 - Pet Accessories
+//128 - Eggs (well, monsters don't drop 'em but we'll use the same system for ALL logs)
+//256 - Log expensive items ( >= price_log)
+//512 - Log big amount of items ( >= amount_log) Note: Amount is ignored in Monster Drops Log
+//1024 - Log items which have scripts (not implemented yet)
+
+//For example: 258 -> log all USABLE and all items which price is >= price_items_log
+//For example: 568 -> log all CARDS,WEAPON,ARMOR and all items which amount >= amount_items_log
+
+//don't log it if the current item price < price_items_log
+price_items_log: 1000
+
+//don't log it if the current item amount < amount_items_log
+amount_items_log: 100
+//==================================================
// Log Dead Branch Usage
log_branch: 0