Open aluchianic opened 5 years ago
@const-andreyLu After another set of conversations with @vcalmic and @euliancom, we would like to propose an improved logging workflow:
log buffer
and timestamp
)create separate worker for logging execution
create class for api logging
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