Skip to content

Commit 4c0a74f

Browse files
author
Vladimir Kotal
authored
change pattern to match configuration example
fixes #2460
1 parent d7a0e64 commit 4c0a74f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

opengrok-tools/logging.properties.template

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ handlers= java.util.logging.FileHandler
77
# Default global logging level.
88
.level= FINE
99

10-
java.util.logging.FileHandler.pattern = DIR_TO_BE/opengrok%g.%u.log
10+
# The '%PROJECT%' pattern will be expanded by the the opengrok-reindex-project script
11+
# and therefore needs to match the argument to the -P option.
12+
java.util.logging.FileHandler.pattern = %PROJECT%/opengrok%g.%u.log
1113

1214
## Rotation settings
1315
# 50 MiB

0 commit comments

Comments
 (0)