You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@const-andreyLu After another set of conversations with @vcalmic and @euliancom, we would like to propose an improved logging workflow:
on start terrahub cli - create [runId]_start.log
on start terrahub component - create [runId]_component.log
on end terrahub component - create [run_id]_end.log; if NO ES && VALID token && Cloud Deployer inside Lambda, then upload [runId]_component.log to S3; if NO ES && VALID token && Cloud Deployer outside Lambda, then download [runId]_component.log from S3
on end terrahub cli - merge all logs into 1 file; if NO ES && VALID token, then upload merged file to S3
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 disabledExpected 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
The text was updated successfully, but these errors were encountered: