Github user mxmrlv commented on a diff in the pull request:
https://github.com/apache/incubator-ariatosca/pull/104#discussion_r112435493
--- Diff: aria/cli/commands/executions.py ---
@@ -141,12 +143,19 @@ def start(workflow_name,
logger.info('Starting {0}execution. Press Ctrl+C cancel'.format('dry '
if dry else ''))
execution_thread.start()
+
+ log_iterator = cli_logger.ModelLogIterator(model_storage,
workflow_runner.execution_id)
try:
while execution_thread.is_alive():
- # using join without a timeout blocks and ignores
KeyboardInterrupt
+ execution_logging.log_list(log_iterator)
execution_thread.join(1)
+
except KeyboardInterrupt:
- _cancel_execution(workflow_runner, execution_thread, logger)
+ _cancel_execution(model_storage, workflow_runner,
execution_thread, logger)
--- End diff --
move model_storage later
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---