Skip to content

Commit e396c97

Browse files
author
Vladimir Kotal
committed
make opengrok-deploy silent by default
1 parent 2b9e7dd commit e396c97

File tree

1 file changed

+3
-7
lines changed
  • opengrok-tools/src/main/python/opengrok_tools

1 file changed

+3
-7
lines changed

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

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,13 @@ def deploy_war(logger, source_war, target_war, config_file=None,
109109
with tempfile.NamedTemporaryFile(prefix='OpenGroktmpWar',
110110
suffix='.war',
111111
delete=False) as tmp_war:
112-
logger.info('Repacking {} with custom configuration path to {}'.
113-
format(source_war, tmp_war.name))
112+
logger.debug('Repacking {} with custom configuration path to {}'.
113+
format(source_war, tmp_war.name))
114114
repack_war(logger, source_war, tmp_war.name, DEFAULT_CONFIG_FILE,
115115
config_file, insert_path)
116116
source_war = tmp_war.name
117117

118-
logger.info("Installing {} to {}".format(source_war, target_war))
118+
logger.debug("Installing {} to {}".format(source_war, target_war))
119119
copyfile(source_war, target_war)
120120

121121
if tmp_war:
@@ -152,10 +152,6 @@ def main():
152152
except XMLProcessingException as e:
153153
fatal(e)
154154

155-
print("Start your application server (if it is not already running) "
156-
"or wait until it loads the just installed web application.\n"
157-
"OpenGrok should be available on <HOST>:<PORT>/{APP_CONTEXT}")
158-
159155

160156
if __name__ == '__main__':
161157
main()

0 commit comments

Comments
 (0)