tfxor / terrahub

Terraform Automation and Orchestration Tool (Open Source)
https://docs.terrahub.io
Mozilla Public License 2.0
224 stars 19 forks source link

Implement logging of Terrahub workflow to local file #784

Open aluchianic opened 5 years ago

aluchianic commented 5 years ago

Feature Report

Add functionality to have workflow logs in all use cases (ES or local Log files)

Describe the Feature

Implement logging to local file ~/.terrahub/cache/log/[runId]/[componentName].log if ES logging is disabled

Expected Behavior

Logging flow : on start terrahub cli - create [runId]_start.log on start terrahub component - create [runId]_component.log, upload [runId]_start.log on end terrahub component - create [runId]_end.log, upload [runId]_component.log on end terrahub cli - merge all logs into 1 file, upload [runId]_end.log
eistrati commented 5 years ago

@const-andreyLu After another set of conversations with @vcalmic and @euliancom, we would like to propose an improved logging workflow:

aluchianic commented 5 years ago

Requirements to implement

aluchianic commented 5 years ago

Requirements updates