-
Notifications
You must be signed in to change notification settings - Fork 44
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
Enh/advanced logging #1247
Enh/advanced logging #1247
Conversation
…d these into video player
…d these into video player
… slogGorm package
…dvanced-logging # Conflicts: # cmd/tumlive/tumlive.go
Your Testserver will be ready at https://1247.test.live.mm.rbg.tum.de in a few minutes. Logins
|
Just so we don't forget it: If you update the Go version, don't forget to update gocast/.github/workflows/go-test.yml Line 11 in 70bc1f3
|
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.
all of it looks good just that one line in the dockerfile should be reverted
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.
okay hast die dockerfile reverted und sieht aus das du nur die logger replaced hast und die go version auf 1.21 gesetzt hast. sieht gut aus soweit ich sehe
* Minor changes in user-settings, still some errors in removing parts * Added custom setting to add custom speeds for playback and implemented these into video player * Full rewrite of the logging in the api folder * Fixed a bug in statistics.go * Changed logging in dao and tumlive * Finished rewriting logs everywhere but in the worker * Minor changes in user-settings, still some errors in removing parts * Added custom setting to add custom speeds for playback and implemented these into video player * Full rewrite of the logging in the api folder * Fixed a bug in statistics.go * Changed logging in dao and tumlive * Finished rewriting logs everywhere but in the worker * Added json logging to dao and in email.go, go upgraded to 1.21, added slogGorm package * Merged locally * Changed Dockerfile to work with multiple files in cmd/tumlive * Fixed a bug * Fixed a bug * Fixed some version things * Fixed build errors * Fixed bug in worker * Fixed another bug * Testing another change in go.work * Updated go.sum * Fixed go.work * Updated to go 1.21.5 * Removed autobuild * Added correct make targets to build * Fixed some more bugs * Changed everything to 1.21 instead of 1.21.5 * Removed toolchain directive * Added toolchain directive with new version * Last try with toolchain directive * Fixed pipeline
Motivation and Context
Added custom JSON Logger to every package so logging output can be checked easily
Description
Every log now prints a JSON String instead of just a readable text string
Steps for Testing
Run your Instance of gocast