boundary-ui
boundary-ui copied to clipboard
configure Desktop logging
:tickets: Jira ticket
Description
This PR installs electron log to add logs to desktop client.
Screenshots (if appropriate):
How to Test
- run binary locally and perform search on DC
- you can see the log file being generated in the below mentioned location based on your OS
on Linux: ~/.config/{app name}/logs/main.log on macOS: ~/Library/Logs/{app name}/main.log on Windows: %USERPROFILE%\AppData\Roaming{app name}\logs\main.log
:technologist: Admin preview
:desktop_computer: Desktop preview
Checklist:
- [ ] I have added before and after screenshots for UI changes
- [ ] I have added JSON response output for API changes
- [ ] I have added steps to reproduce and test for bug fixes in the description
- [ ] I have commented on my code, particularly in hard-to-understand areas
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| boundary-ui | ❌ Failed (Inspect) | Mar 27, 2024 10:54pm | ||
| boundary-ui-desktop | ❌ Failed (Inspect) | Mar 27, 2024 10:54pm |
I will suggest to add a log when we detect the clientDaemon is failing and we fall back to the controller, not sure should be here, but somewhere around there. The idea of my suggestion is to know:
- When and how often the daemon fails and we need to fallback to the controller.
- To know if we are fetching from daemon or controller.
Awesome!! this is looking great @DhariniJeeva !!
Is this going to get merged into main? What was the plan for this?
Ups!! good catch @ZedLi , definetly this should be in a feature or LL branch, so we can keep working on it, build experimental binaries if need until we decide to bring it to main
I wasn't sure when we would merge this or what the scope of this work is, but for now, as Carlos suggested, I will create an LLB for this work.
Closed as this was now handled in https://github.com/hashicorp/boundary-ui/pull/2234