############################################################
# 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,\
net.sf.l2j.ErrorLogHandler
chat.handlers = net.sf.l2j.ChatLogHandler
chat.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 = net.sf.l2j.FileLogFormatter
java.util.logging.FileHandler.level = CONFIG 1.
############################################################
2.
# Global properties
3.
############################################################
4.
5.
# "handlers" specifies a comma separated list of log Handler
6.
# classes. These handlers will be installed during VM startup.
7.
# Note that these classes must be on the system classpath.
8.
# By default we only configure a ConsoleHandler, which will only
9.
# show messages at the INFO and above levels.
10.
#handlers= java.util.logging.ConsoleHandler
11.
12.
# To also add the FileHandler, use the following line instead.
13.
handlers = java.util.logging.FileHandler,java.util.logging.ConsoleHandler,\
14.
net.sf.l2j.ErrorLogHandler
15.
chat.handlers = net.sf.l2j.ChatLogHandler
16.
chat.useParentHandlers = false
17.
18.
# Default global logging level.
19.
# This specifies which kinds of events are logged across
20.
# all loggers. For any given facility this global level
21.
# can be overriden by a facility specific level
22.
# Note that the ConsoleHandler also has a separate level
23.
# setting to limit messages printed to the console.
24.
.level= CONFIG
25.
26.
############################################################
27.
# Handler specific properties.
28.
# Describes specific configuration info for Handlers.
29.
############################################################
30.
31.
# default file output is in user's home directory.
32.
java.util.logging.FileHandler.pattern = log/java%u.log
33.
java.util.logging.FileHandler.limit = 500000
34.
java.util.logging.FileHandler.count = 5
35.
java.util.logging.FileHandler.formatter = net.sf.l2j.FileLogFormatter
36.
java.util.logging.FileHandler.level = ALL
37.
38.
# Limit the message that are printed on the console to INFO and above.
39.
java.util.logging.ConsoleHandler.level = ALL
40.
java.util.logging.ConsoleHandler.formatter = net.sf.l2j.ConsoleLogFormatter
41.
42.
# log errors (exceptions)
43.
net.sf.l2j.ErrorLogHandler.pattern = log/error%u.log
44.
net.sf.l2j.ErrorLogHandler.count = 5
45.
net.sf.l2j.ErrorLogHandler.formatter = java.util.logging.SimpleFormatter
46.
net.sf.l2j.ErrorLogHandler.filter = net.sf.l2j.ErrorFilter
47.
net.sf.l2j.ErrorLogHandler.level = ALL
48.
49.
# log chats
50.
net.sf.l2j.ChatLogHandler.pattern = log/chat.log
51.
net.sf.l2j.ChatLogHandler.formatter = net.sf.l2j.ChatLogFormatter
52.
net.sf.l2j.ChatLogHandler.filter = net.sf.l2j.ChatFilter
53.
net.sf.l2j.ChatLogHandler.append = true
54.
net.sf.l2j.ChatLogHandler.level = INFO
55.
56.
57.
############################################################
58.
# Facility specific properties.
59.
# Provides extra control for each logger.
60.
############################################################
61.
62.
# For example, set the com.xyz.foo logger to only log SEVERE
63.
# messages:
64.
net.sf.l2j.gameserver.level = FINER
65.
net.sf.l2j.loginserver.level = FINER
66.
net.sf.l2j.gameserver.Connection.level = FINER
67.
net.sf.l2j.gameserver.serverpackets.level = FINER
68.
net.sf.l2j.gameserver.clientpackets.level = FINER
69.
net.sf.l2j.gameserver.model.L2Character.level = FINER
70.
net.sf.l2j.gameserver.skills.SkillsEngine.level = WARNING
# Limit the message that are printed on the console to INFO and above.
java.util.logging.ConsoleHandler.level = FINER
java.util.logging.ConsoleHandler.formatter = net.sf.l2j.ConsoleLogFormatter
# log errors (exceptions)
net.sf.l2j.ErrorLogHandler.pattern = log/error%u.log
net.sf.l2j.ErrorLogHandler.count = 5
net.sf.l2j.ErrorLogHandler.formatter = java.util.logging.SimpleFormatter
net.sf.l2j.ErrorLogHandler.filter = net.sf.l2j.ErrorFilter
net.sf.l2j.ErrorLogHandler.level = CONFIG
# log chats
net.sf.l2j.ChatLogHandler.pattern = log/chat.log
net.sf.l2j.ChatLogHandler.formatter = net.sf.l2j.ChatLogFormatter
net.sf.l2j.ChatLogHandler.filter = net.sf.l2j.ChatFilter
net.sf.l2j.ChatLogHandler.append = true
net.sf.l2j.ChatLogHandler.level = INFO
############################################################
# Facility specific properties.
# Provides extra control for each logger.
############################################################
# For example, set the com.xyz.foo logger to only log SEVERE
# messages:
net.sf.l2j.gameserver.level = CONFIG
net.sf.l2j.loginserver.level = CONFIG
net.sf.l2j.gameserver.Connection.level = CONFIG
net.sf.l2j.gameserver.serverpackets.level = FINER
net.sf.l2j.gameserver.clientpackets.level = FINER
net.sf.l2j.gameserver.model.L2Character.level = FINER
net.sf.l2j.gameserver.skills.SkillsEngine.level = WARNING