xref: /OpenGrok/tools/logging.properties.template (revision 2d57dc692b4dd10e696ca6922510f6cecded1bfd)
1#
2# Java logging properties template used by the opengrok-reindex-project script.
3#
4
5handlers= java.util.logging.FileHandler
6
7# Default global logging level.
8.level= FINE
9
10# The '%PROJ%' pattern will be expanded by the the opengrok-reindex-project script
11# and therefore needs to match the argument to the -p option.
12java.util.logging.FileHandler.pattern = %PROJ%/opengrok%g.%u.log
13
14## Rotation settings
15# 50 MiB
16java.util.logging.FileHandler.limit = 52428800
17# 30 files
18java.util.logging.FileHandler.count = 30
19
20java.util.logging.FileHandler.formatter = org.opengrok.indexer.logger.formatter.SimpleFileLogFormatter
21
22# Limit the message that are printed on the console.
23java.util.logging.ConsoleHandler.level = WARNING
24java.util.logging.ConsoleHandler.formatter = org.opengrok.indexer.logger.formatter.SimpleFileLogFormatter
25