Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign updefault and comments of logging.ConsoleHandler.level #2590
Comments
What is meant in the comment is that setting the level to |
Actually, the verbose probably means the Indexer flag that got changed in cset 83adc92 |
On a related note, I found this issue (and #137) while looking for INFO output to console when indexing with -v. Are we sure after [83adc92] that the -v argument still changes the log level to include INFO to the console? I have made some changes in PerforceRepository, and when the log() line I added uses WARNING, I see it. But, when I set it to INFO, I do not see it even when running with -v. (I do, however, see Should I open a new issue for this, or am I missing something? |
Hmm. I think I figured this out. It turns out that I'm invoking my index with a wrapper script for command line tools. It is running the opengrok.jar with |
I think the -v option should just go away. I preserved it for compatibility with older versions originally. There should be just one way how to set logging levels. |
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