-
Notifications
You must be signed in to change notification settings - Fork 13
Alpha 0.1.10/553 add logging on frontend and backend #652
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
Closed
Jopat2409
wants to merge
77
commits into
release-alpha-0.1.10
from
alpha-0.1.10/553-add-logging-on-frontend-and-backend
Closed
Changes from all commits
Commits
Show all changes
77 commits
Select commit
Hold shift + click to select a range
3325608
Added config file on backend
Jopat2409 dfbd218
Changed print to log
Jopat2409 8797748
Added logging stream handler and socket handler
Jopat2409 443a5d9
Run log setup on create app
Jopat2409 5ba4638
Added two log handlers
Jopat2409 22d7bb2
Create log handlers on socket init
Jopat2409 f2df11d
Register logging redux slice
Jopat2409 bfb1a56
Dispatch log event on reception from backend
Jopat2409 928c94d
Add log history
Jopat2409 0894783
Ensure logging is initialised after sockio connection
Jopat2409 214e91f
Add log4js
Jopat2409 087db9d
Add logging settings
Jopat2409 0b5b3be
Extract electron functionality into modules
Jopat2409 f7dc2bb
Add exposed ipcRenderer methods
Jopat2409 a992f81
Add electron log handler
Jopat2409 9b62381
Add directory setting type
Jopat2409 55e7c06
Remove buggy import
Jopat2409 2459fe6
Remove annoying log
Jopat2409 68e2294
Update console log to logging
Jopat2409 e40d706
Removed console logger from backend (since it will be logged through …
Jopat2409 a57680e
Merge branch 'release-alpha-0.1.10' of https://github.com/Avis-Drone-…
Jopat2409 0fb1936
Added logging
Jopat2409 4926897
Merge branch 'release-alpha-0.1.10' of https://github.com/Avis-Drone-…
Jopat2409 59e0aeb
Removed logging from slice reducers. Logging should be done where the…
Jopat2409 845d26c
Added multiFile
Jopat2409 643f1b5
Added log4js to external options
Jopat2409 6bfb066
Add distinction between backend and frontend logs
Jopat2409 6a58839
Logs are now sent to gcs/logs when in development mode
Jopat2409 63cbfe7
Fixed bug with bad settings read
Jopat2409 c3832a9
Updated logging methods
Jopat2409 94857ac
Updated logging
Jopat2409 4ec88b5
Added logging methods
Jopat2409 98e9341
Updated logging messages
Jopat2409 bca2e7c
Updated logging messages
Jopat2409 41083a3
Update logging
Jopat2409 7a0a2a6
Merge branch 'release-alpha-0.1.10' of https://github.com/Avis-Drone-…
Jopat2409 837647e
Remove debug log count
Jopat2409 9b881ad
Merge branch 'release-alpha-0.1.10' of https://github.com/Avis-Drone-…
Jopat2409 8f468f3
Logging now follows development settings
Jopat2409 61b590e
Created log helpers for electron logging
Jopat2409 bc3ea4b
Ignore annoying typescript issue
Jopat2409 a26684f
Remove caller from log format if logging to separate files
Jopat2409 53eb7f2
Add socket emit hook
Jopat2409 a4878e8
Stop typescript crying at me
Jopat2409 3851c80
Finished up logging
Jopat2409 6724699
Add a bit of documentation
Jopat2409 289d8f3
Update default log format
Jopat2409 3be5a9c
Removed unused electron logger
Jopat2409 5e3013c
Moved log dispatch to middleware because reducers are supposed to be …
Jopat2409 cbe4108
Fixed combining files being the wrong way round
Jopat2409 4e9f866
Bad descriptor gone
Jopat2409 27fed4b
Explicitly import process to please eslint
Jopat2409 7b8d0a3
Fix ruff issues
Jopat2409 fdaf361
More ruff fixes + ran linter
Jopat2409 1f52562
Fixed bad tests and ruff issues
Jopat2409 75f51c8
Fix spelling mistake thanks copilot
Jopat2409 9b0fe6d
Stupid suggestion but I love copilot so sure
Jopat2409 bf1002e
I can't soekk received
Jopat2409 3a978cb
Update gcs/src/components/settingsModal.jsx
Jopat2409 07c4c24
Fix mypy issue and fix copilot slop suggestions
Jopat2409 adc491f
Merge branch 'alpha-0.1.10/553-add-logging-on-frontend-and-backend' o…
Jopat2409 b093977
Fix missing prettier files for some reason
Jopat2409 80594f8
Holy yarn format
Jopat2409 5ea8f20
Merge branch 'release-alpha-0.1.10' into alpha-0.1.10/553-add-logging…
1Blademaster 0daa88b
Merge branch 'release-alpha-0.1.10' of https://github.com/Avis-Drone-…
Jopat2409 92718c3
Complete merge
Jopat2409 ff1ae0a
Fix issue with store
Jopat2409 e80c3b6
Fixed attempting to access NODE_ENV on frontend
Jopat2409 42ca02a
Removed log incoming messages
Jopat2409 57fe792
Update radio/app/controllers/gripperController.py
Jopat2409 4c889ed
Update radio/app/controllers/gripperController.py
Jopat2409 5a0f89b
Update radio/app/controllers/armController.py
Jopat2409 32d336c
Update radio/app/controllers/gripperController.py
Jopat2409 ce2cdcc
Update radio/app/controllers/frameController.py
Jopat2409 c64a2ba
Add console logger for pytest
Jopat2409 a9e9d49
Merge branch 'alpha-0.1.10/553-add-logging-on-frontend-and-backend' o…
Jopat2409 a507e41
Remove unneeded log
Jopat2409 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,4 +3,4 @@ build | |
| coverage | ||
| dist | ||
| dist-electron | ||
| data | ||
| data | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "semi": false, | ||
| "singleQuote": false, | ||
| "jsxSingleQuote": false, | ||
| "trailingComma": "all" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
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.
Instead of making this a setting, can we check if it's a development environment and log to gcs/logs, if it's prod then use default log location?