Skip to content

Commit 0149c87

Browse files
author
Vladimir Kotal
committed
initialize logdir
fixes #2823
1 parent 534a13d commit 0149c87

File tree

1 file changed

+1
-0
lines changed
  • opengrok-tools/src/main/python/opengrok_tools

1 file changed

+1
-0
lines changed

opengrok-tools/src/main/python/opengrok_tools/mirror.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ def main():
144144
if hook_timeout:
145145
logger.debug("Global hook timeout = {}".format(hook_timeout))
146146

147+
logdir = None
147148
# Log messages to dedicated log file if running in batch mode.
148149
if args.batch:
149150
logdir = config.get(LOGDIR_PROPERTY)

0 commit comments

Comments
 (0)