oracle/opengrok

default and comments of logging.ConsoleHandler.level

Ouverte

#2 590 ouverte le 12 déc. 2018

 (6 commentaires) (0 réaction) (0 personne assignée)Java (747 forks)batch import
bughelp wanted

Métriques du dépôt

Stars
 (4 060 étoiles)
Métriques de merge PR
 (Merge moyen 2j 17h) (11 PRs mergées en 30 j)

Description

Can someone please check and validate these lines of code as setting the value to "quiet" is not a valid option and returns back:

Bad level value for property: java.util.logging.ConsoleHandler.level
Can't set level for java.util.logging.ConsoleHandler

It doesn't make sense to mention "quiet" or "verbose" because neither of those are options listed on line 30 of this file: https://github.com/oracle/opengrok/blob/master/logging.properties

# Limit the message that are printed on the console to WARNING and above (default "quiet" mode).
# if verbose is set, then log INFO and above
java.util.logging.ConsoleHandler.level = WARNING
java.util.logging.ConsoleHandler.formatter = org.opengrok.indexer.logger.formatter.SimpleConsoleFormatter

Guide contributeur