Skip to content

Commit d7a0e64

Browse files
author
Vladimir Kotal
authored
cleanup
1 parent 7208887 commit d7a0e64

File tree

1 file changed

+6
-49
lines changed

1 file changed

+6
-49
lines changed
Lines changed: 6 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,22 @@
1-
############################################################
2-
# Logging Configuration File
31
#
4-
# You can use a different file by specifying a filename
5-
# with the java.util.logging.config.file system property.
6-
# For example java -Djava.util.logging.config.file=myfile
7-
############################################################
8-
9-
############################################################
10-
# Global properties
11-
############################################################
12-
13-
# "handlers" specifies a comma separated list of log Handler
14-
# classes. These handlers will be installed during VM startup.
15-
# Note that these classes must be on the system classpath.
16-
# By default we only configure a ConsoleHandler, which will only
17-
# show messages at the INFO and above levels.
18-
#handlers= java.util.logging.ConsoleHandler
19-
# Available logging levels: OFF, SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST, ALL
20-
# OFF will give no output, SEVERE will give very little output, FINEST and ALL will give lots of output.
2+
# Java logging properties template used by the opengrok-reindex-project script.
213
#
224

23-
# To also add the FileHandler, use the following line instead.
24-
# (vk) we only want FileHandler
255
handlers= java.util.logging.FileHandler
26-
# java.util.logging.ConsoleHandler
276

287
# Default global logging level.
29-
# This specifies which kinds of events are logged across
30-
# all loggers. For any given facility this global level
31-
# can be overriden by a facility specific level
32-
# Note that the ConsoleHandler also has a separate level
33-
# setting to limit messages printed to the console.
34-
#.level= ALL
358
.level= FINE
369

37-
############################################################
38-
# Handler specific properties.
39-
# Describes specific configuration info for Handlers.
40-
############################################################
41-
42-
# default file output is in user's home directory.
43-
#java.util.logging.FileHandler.pattern = %hjava%u.log
4410
java.util.logging.FileHandler.pattern = DIR_TO_BE/opengrok%g.%u.log
45-
# big
11+
12+
## Rotation settings
13+
# 50 MiB
4614
java.util.logging.FileHandler.limit = 52428800
4715
# 30 files
4816
java.util.logging.FileHandler.count = 30
49-
#java.util.logging.FileHandler.formatter = java.util.logging.XMLFormatter
17+
5018
java.util.logging.FileHandler.formatter = org.opengrok.indexer.logger.formatter.SimpleFileLogFormatter
5119

52-
# Limit the message that are printed on the console to INFO and above.
53-
#java.util.logging.ConsoleHandler.level = INFO
20+
# Limit the message that are printed on the console.
5421
java.util.logging.ConsoleHandler.level = WARNING
5522
java.util.logging.ConsoleHandler.formatter = org.opengrok.indexer.logger.formatter.SimpleFileLogFormatter
56-
57-
58-
############################################################
59-
# Facility specific properties.
60-
# Provides extra control for each logger.
61-
############################################################
62-
63-
# For example, set the com.xyz.foo logger to only log SEVERE
64-
# messages:
65-
#com.xyz.foo.level = SEVERE

0 commit comments

Comments
 (0)