Skip to content

Commit 822cda1

Browse files
committed
try to describe logging
1 parent f69d4db commit 822cda1

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,21 @@ It would look like this:
599599
(this will map extension `.cs` to `PlainAnalyzer`)
600600
You should even be able to override OpenGroks analyzers using this option.
601601
602+
### 5.7 Logging
603+
604+
Both indexer and web app emit extensive log messages.
605+
606+
OpenGrok is shipped with the `logging.properties` file that contains logging
607+
configuration.
608+
609+
The `OpenGrok` shell script will automatically use this file
610+
if found under the base directory. It can also be set using the
611+
`OPENGROK_LOGGER_CONFIG_PATH` environment variable.
612+
613+
If not using the shell script, the path to the configuration file can be
614+
set using the `-Djava.util.logging.config.file=/PATH/TO/MY/logging.properties`
615+
java parameter.
616+
602617
603618
## 6. Optional Command Line Interface Usage
604619

0 commit comments

Comments
 (0)