############################################################
#  	Global properties
############################################################

# "handlers" specifies a comma separated list of log Handler 
# classes.  These handlers will be installed during VM startup.
# Note that these classes must be on the system classpath.
# By default we only configure a ConsoleHandler, which will only
# show messages at the INFO and above levels.
#handlers= java.util.logging.ConsoleHandler

# To also add the FileHandler, use the following line instead.
handlers = java.util.logging.FileHandler,\
		java.util.logging.ConsoleHandler,\
		org.l2jmobius.log.handler.ErrorLogHandler
chat.handlers = org.l2jmobius.log.handler.ChatLogHandler
chat.useParentHandlers = false
gmaudit.handlers = org.l2jmobius.log.handler.GMAuditLogHandler
gmaudit.useParentHandlers = false
item.handlers = org.l2jmobius.log.handler.ItemLogHandler
item.useParentHandlers = false
audit.handlers = org.l2jmobius.log.handler.AuditLogHandler
audit.useParentHandlers = false
enchant.handlers = org.l2jmobius.log.handler.EnchantItemLogHandler,\
		org.l2jmobius.log.handler.EnchantSkillLogHandler
enchant.useParentHandlers = false
olympiad.handlers = org.l2jmobius.log.handler.OlympiadLogHandler
olympiad.useParentHandlers = false
damage.handlers = org.l2jmobius.log.handler.AllDamageLogHandler,\
		org.l2jmobius.log.handler.PDamageLogHandler,\
		org.l2jmobius.log.handler.MDamageLogHandler
damage.useParentHandlers = false
accounting.handlers = org.l2jmobius.log.handler.AccountingLogHandler
accounting.useParentHandlers = false

# Default global logging level.
# This specifies which kinds of events are logged across
# all loggers.  For any given facility this global level
# can be overriden by a facility specific level
# Note that the ConsoleHandler also has a separate level
# setting to limit messages printed to the console.
.level= CONFIG

############################################################
# Handler specific properties.
# Describes specific configuration info for Handlers.
############################################################

# default file output is in user's home directory.
java.util.logging.FileHandler.pattern = log/java%g.log
java.util.logging.FileHandler.formatter = org.l2jmobius.log.formatter.FileLogFormatter
java.util.logging.FileHandler.limit = 100000000
java.util.logging.FileHandler.count = 20
java.util.logging.FileHandler.level = CONFIG

# Limit the message that are printed on the console to INFO and above.
java.util.logging.ConsoleHandler.level = FINER
java.util.logging.ConsoleHandler.formatter = org.l2jmobius.log.formatter.ConsoleLogFormatter

# log errors (exceptions)
org.l2jmobius.log.handler.ErrorLogHandler.pattern = log/error%g.log
org.l2jmobius.log.handler.ErrorLogHandler.formatter = java.util.logging.SimpleFormatter
org.l2jmobius.log.handler.ErrorLogHandler.filter = org.l2jmobius.log.filter.ErrorFilter
org.l2jmobius.log.handler.ErrorLogHandler.limit = 100000000
org.l2jmobius.log.handler.ErrorLogHandler.count = 20
org.l2jmobius.log.handler.ErrorLogHandler.level = CONFIG

# log chats
org.l2jmobius.log.handler.ChatLogHandler.pattern = log/chat%g.log
org.l2jmobius.log.handler.ChatLogHandler.formatter = org.l2jmobius.log.formatter.ChatLogFormatter
org.l2jmobius.log.handler.ChatLogHandler.filter = org.l2jmobius.log.filter.ChatFilter
org.l2jmobius.log.handler.ChatLogHandler.limit = 100000000
org.l2jmobius.log.handler.ChatLogHandler.count = 20
org.l2jmobius.log.handler.ChatLogHandler.append = true
org.l2jmobius.log.handler.ChatLogHandler.level = INFO

# log GM Audit
org.l2jmobius.log.handler.GMAuditLogHandler.pattern = log/gmaudit%g.log
org.l2jmobius.log.handler.GMAuditLogHandler.formatter = org.l2jmobius.log.formatter.GMAuditFormatter
org.l2jmobius.log.handler.GMAuditLogHandler.filter = org.l2jmobius.log.filter.GMAuditFilter
org.l2jmobius.log.handler.GMAuditLogHandler.limit = 100000000
org.l2jmobius.log.handler.GMAuditLogHandler.count = 20
org.l2jmobius.log.handler.GMAuditLogHandler.append = true
org.l2jmobius.log.handler.GMAuditLogHandler.level = INFO

# log items
org.l2jmobius.log.handler.ItemLogHandler.pattern = log/item%g.log
org.l2jmobius.log.handler.ItemLogHandler.formatter = org.l2jmobius.log.formatter.ItemLogFormatter
org.l2jmobius.log.handler.ItemLogHandler.filter = org.l2jmobius.log.filter.ItemFilter
org.l2jmobius.log.handler.ItemLogHandler.limit = 100000000
org.l2jmobius.log.handler.ItemLogHandler.count = 20
org.l2jmobius.log.handler.ItemLogHandler.append = true
org.l2jmobius.log.handler.ItemLogHandler.level = INFO

# audit
org.l2jmobius.log.handler.AuditLogHandler.pattern = log/audit%g.log
org.l2jmobius.log.handler.AuditLogHandler.formatter = org.l2jmobius.log.formatter.AuditFormatter
org.l2jmobius.log.handler.AuditLogHandler.filter = org.l2jmobius.log.filter.AuditFilter
org.l2jmobius.log.handler.AuditLogHandler.limit = 100000000
org.l2jmobius.log.handler.AuditLogHandler.count = 20
org.l2jmobius.log.handler.AuditLogHandler.append = true
org.l2jmobius.log.handler.AuditLogHandler.level = INFO

# enchant item log
org.l2jmobius.log.handler.EnchantItemLogHandler.pattern = log/enchantitem%g.log
org.l2jmobius.log.handler.EnchantItemLogHandler.formatter = org.l2jmobius.log.formatter.EnchantFormatter
org.l2jmobius.log.handler.EnchantItemLogHandler.filter = org.l2jmobius.log.filter.EnchantItemFilter
org.l2jmobius.log.handler.EnchantItemLogHandler.limit = 100000000
org.l2jmobius.log.handler.EnchantItemLogHandler.count = 20
org.l2jmobius.log.handler.EnchantItemLogHandler.append = true
org.l2jmobius.log.handler.EnchantItemLogHandler.level = INFO

# enchant skill log
org.l2jmobius.log.handler.EnchantSkillLogHandler.pattern = log/enchantskill%g.log
org.l2jmobius.log.handler.EnchantSkillLogHandler.formatter = org.l2jmobius.log.formatter.EnchantFormatter
org.l2jmobius.log.handler.EnchantSkillLogHandler.filter = org.l2jmobius.log.filter.EnchantSkillFilter
org.l2jmobius.log.handler.EnchantSkillLogHandler.limit = 100000000
org.l2jmobius.log.handler.EnchantSkillLogHandler.count = 20
org.l2jmobius.log.handler.EnchantSkillLogHandler.append = true
org.l2jmobius.log.handler.EnchantSkillLogHandler.level = INFO

# olympiad log
org.l2jmobius.log.handler.OlympiadLogHandler.pattern = log/olympiad.csv
org.l2jmobius.log.handler.OlympiadLogHandler.formatter = org.l2jmobius.log.formatter.OlympiadFormatter
org.l2jmobius.log.handler.OlympiadLogHandler.append = true
org.l2jmobius.log.handler.OlympiadLogHandler.level = INFO

# damage logs
org.l2jmobius.log.handler.AllDamageLogHandler.pattern = log/game/damage_all%g.log
org.l2jmobius.log.handler.AllDamageLogHandler.formatter = org.l2jmobius.log.formatter.DamageFormatter
org.l2jmobius.log.handler.AllDamageLogHandler.limit = 100000000
org.l2jmobius.log.handler.AllDamageLogHandler.count = 20
org.l2jmobius.log.handler.AllDamageLogHandler.append = true
org.l2jmobius.log.handler.AllDamageLogHandler.level = INFO

org.l2jmobius.log.handler.PDamageLogHandler.pattern = log/game/damage_pdam%g.log
org.l2jmobius.log.handler.PDamageLogHandler.formatter = org.l2jmobius.log.formatter.DamageFormatter
org.l2jmobius.log.handler.PDamageLogHandler.filter = org.l2jmobius.log.filter.PDamageFilter
org.l2jmobius.log.handler.PDamageLogHandler.limit = 100000000
org.l2jmobius.log.handler.PDamageLogHandler.count = 20
org.l2jmobius.log.handler.PDamageLogHandler.append = true
org.l2jmobius.log.handler.PDamageLogHandler.level = INFO

org.l2jmobius.log.handler.MDamageLogHandler.pattern = log/game/damage_mdam%g.log
org.l2jmobius.log.handler.MDamageLogHandler.formatter = org.l2jmobius.log.formatter.DamageFormatter
org.l2jmobius.log.handler.MDamageLogHandler.filter = org.l2jmobius.log.filter.MDamageFilter
org.l2jmobius.log.handler.MDamageLogHandler.limit = 100000000
org.l2jmobius.log.handler.MDamageLogHandler.count = 20
org.l2jmobius.log.handler.MDamageLogHandler.append = true
org.l2jmobius.log.handler.MDamageLogHandler.level = INFO

# accounting
org.l2jmobius.log.handler.AccountingLogHandler.pattern = log/accounting%g.log
org.l2jmobius.log.handler.AccountingLogHandler.formatter = org.l2jmobius.log.formatter.AccountingFormatter
org.l2jmobius.log.handler.AccountingLogHandler.limit = 100000000
org.l2jmobius.log.handler.AccountingLogHandler.count = 20
org.l2jmobius.log.handler.AccountingLogHandler.append = true
org.l2jmobius.log.handler.AccountingLogHandler.level = CONFIG

############################################################
# Facility specific properties.
# Provides extra control for each logger.
############################################################

# For example, set the com.xyz.foo logger to only log SEVERE
# messages:
org.l2jmobius.gameserver.level = CONFIG
org.l2jmobius.loginserver.level = CONFIG
org.l2jmobius.gameserver.network.serverpackets.level = FINER
org.l2jmobius.gameserver.network.clientpackets.level = FINER

# Alt Privileges Administration
AltPrivilegesAdmin.pattern = log/admin-commands%g.log
AltPrivilegesAdmin.formatter = org.l2jmobius.log.formatter.FileLogFormatter
AltPrivilegesAdmin.limit = 100000000
AltPrivilegesAdmin.count = 20
AltPrivilegesAdmin.append = true
AltPrivilegesAdmin.level = CONFIG
