Updated startup files.

This commit is contained in:
MobiusDev
2018-04-30 21:42:33 +00:00
parent d92c73b8cb
commit f699e2653c
33 changed files with 446 additions and 290 deletions

View File

@@ -1,104 +0,0 @@
############################################################
# 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,\
com.l2jmobius.log.ErrorLogHandler
chat.handlers = com.l2jmobius.log.ChatLogHandler
chat.useParentHandlers = false
gmaudit.handlers = com.l2jmobius.log.GMAuditLogHandler
gmaudit.useParentHandlers = false
item.handlers = com.l2jmobius.log.ItemLogHandler
item.useParentHandlers = false
audit.handlers = com.l2jmobius.log.AuditLogHandler
audit.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%u.log
java.util.logging.FileHandler.limit = 500000
java.util.logging.FileHandler.count = 5
java.util.logging.FileHandler.formatter = com.l2jmobius.log.FileLogFormatter
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 = com.l2jmobius.log.ConsoleLogFormatter
# log errors (exceptions)
com.l2jmobius.log.ErrorLogHandler.pattern = log/error%u.log
com.l2jmobius.log.ErrorLogHandler.count = 5
com.l2jmobius.log.ErrorLogHandler.formatter = java.util.logging.SimpleFormatter
com.l2jmobius.log.ErrorLogHandler.filter = com.l2jmobius.log.ErrorFilter
com.l2jmobius.log.ErrorLogHandler.level = CONFIG
# log chats
com.l2jmobius.log.ChatLogHandler.pattern = log/chat.log
com.l2jmobius.log.ChatLogHandler.formatter = com.l2jmobius.log.ChatLogFormatter
com.l2jmobius.log.ChatLogHandler.filter = com.l2jmobius.log.ChatFilter
com.l2jmobius.log.ChatLogHandler.append = true
com.l2jmobius.log.ChatLogHandler.level = INFO
# log GM Audit
com.l2jmobius.log.GMAuditLogHandler.pattern = log/gmaudit.log
com.l2jmobius.log.GMAuditLogHandler.formatter = com.l2jmobius.log.GMAuditFormatter
com.l2jmobius.log.GMAuditLogHandler.filter = com.l2jmobius.log.GMAuditFilter
com.l2jmobius.log.GMAuditLogHandler.append = true
com.l2jmobius.log.GMAuditLogHandler.level = INFO
# log items
com.l2jmobius.log.ItemLogHandler.pattern = log/item.log
com.l2jmobius.log.ItemLogHandler.formatter = com.l2jmobius.log.ItemLogFormatter
com.l2jmobius.log.ItemLogHandler.filter = com.l2jmobius.log.ItemFilter
com.l2jmobius.log.ItemLogHandler.append = true
com.l2jmobius.log.ItemLogHandler.level = INFO
# audit
com.l2jmobius.log.AuditLogHandler.pattern = log/audit.log
com.l2jmobius.log.AuditLogHandler.formatter = com.l2jmobius.log.AuditFormatter
com.l2jmobius.log.AuditLogHandler.filter = com.l2jmobius.log.AuditFilter
com.l2jmobius.log.AuditLogHandler.append = true
com.l2jmobius.log.AuditLogHandler.level = INFO
############################################################
# Facility specific properties.
# Provides extra control for each logger.
############################################################
# For example, set the com.xyz.foo logger to only log SEVERE
# messages:
com.l2jmobius.gameserver.level = CONFIG
com.l2jmobius.loginserver.level = CONFIG
com.l2jmobius.gameserver.Connection.level = CONFIG
com.l2jmobius.gameserver.serverpackets.level = FINER
com.l2jmobius.gameserver.clientpackets.level = FINER
com.l2jmobius.gameserver.model.L2Character.level = FINER
com.l2jmobius.gameserver.skills.SkillsEngine.level = WARNING
# Alt Privileges Administration
AltPrivilegesAdmin.pattern = log/admin-commands.log
AltPrivilegesAdmin.formatter = com.l2jmobius.log.FileLogFormatter
AltPrivilegesAdmin.append = true
AltPrivilegesAdmin.level = CONFIG