Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add logging to base classes and log state changes between actions in promise work-chain #175

Closed
aaronlippold opened this issue Feb 28, 2022 · 0 comments · Fixed by mitre/heimdall2#2675 or mitre/heimdall2#2705 · May be fixed by #183
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@aaronlippold
Copy link
Member

aaronlippold commented Feb 28, 2022

This should all log someplace and we should have two levels of logging

We should also ensure we are raising and throwing error correctly as well.

  1. Default logging that console logs during normal workflow
  2. Verbose logging when we add the -l debug or --verbose flag ( style chice is yours )

Logging should cover:
a. read and write operations
b. connections to data sources
c. state of outcomes - success, fail, error, warning
d. connections to external sources - AWS, Splunk, S3, Elastic, User file system, etc.

Modifications to the oclif base class:

  • add piping support / cat support for daisy chain tool use
  • help
  • log-level info, debug, verbose, error
  • input, output
  • list comands
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
4 participants