-
Notifications
You must be signed in to change notification settings - Fork 0
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
[NayNay] Debug Log #147
Conversation
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
Co-authored-by: mix irving <mix@protozoa.nz>
Co-authored-by: mix irving <mix@protozoa.nz>
I smoke tested this and found lots of noise in the logs. I made a lil PR to try and chill them out and this help but that issue will also need fixing |
There was a problem hiding this 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
…ughout cli to use new logger; added masking to the payload logged to obfuscate secret information
There was a problem hiding this 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.
approved by frankie, all comments addressed