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

[NayNay] Debug Log #147

Merged
merged 7 commits into from
Jul 9, 2024
Merged

[NayNay] Debug Log #147

merged 7 commits into from
Jul 9, 2024

Conversation

rh0delta
Copy link
Contributor

@rh0delta rh0delta commented Jul 2, 2024

  • install and integrated winston logging library into cli
  • allowing us to be able to log any and everything to the respective files saved in the ~/path/to/syslogs/entropy-cryptography/entropy-cli.*.log
  • included example use of new logger in the tui flow for balance

- install and integrated winston logging library into cli
- allowing us to be able to log any and everything to the respective files saved in the ~/path/to/syslogs/entropy-cryptography/entropy-cli.*.log
- included example use of new logger in the tui flow for balance
src/common/logger.ts Outdated Show resolved Hide resolved
src/common/logger.ts Outdated Show resolved Hide resolved
src/common/logger.ts Outdated Show resolved Hide resolved
src/common/logger.ts Outdated Show resolved Hide resolved
src/common/logger.ts Outdated Show resolved Hide resolved
mixmix and others added 3 commits July 3, 2024 15:44
Co-authored-by: mix irving <mix@protozoa.nz>
Co-authored-by: mix irving <mix@protozoa.nz>
@mixmix
Copy link
Contributor

mixmix commented Jul 3, 2024

I smoke tested this and found lots of noise in the logs.
But it's not your fault - I found that we're doing baaad things with our config #160

I made a lil PR to try and chill them out and this help but that issue will also need fixing

mixmix
mixmix previously requested changes Jul 3, 2024
Copy link
Contributor

@mixmix mixmix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

couple 🔥 I'd like to see responded to / addressed

There are some other things which need addressing too:

  • installing this everywhere to replace our print/ debug
    • figuring out a nice consistent pattern for that for CLI / TUI modes

This is looking great though, I think it's gonna be a massive help

@rh0delta rh0delta marked this pull request as draft July 3, 2024 17:21
@rh0delta rh0delta marked this pull request as draft July 3, 2024 17:21
…ughout cli to use new logger; added masking to the payload logged to obfuscate secret information
@rh0delta rh0delta marked this pull request as ready for review July 8, 2024 21:44
@rh0delta rh0delta requested a review from mixmix July 8, 2024 21:44
Copy link
Collaborator

@frankiebee frankiebee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dosent look to out of pocket approveing this.

@rh0delta rh0delta dismissed mixmix’s stale review July 9, 2024 18:02

approved by frankie, all comments addressed

@rh0delta rh0delta merged commit 614f9ec into dev Jul 9, 2024
1 check passed
@rh0delta rh0delta deleted the naynay/debug-log branch July 9, 2024 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants