-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Getting rid of external logging #11085
Merged
Merged
Conversation
This file contains 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
Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Bug fixes
Non-trivial changes
New/Existing features
Backward compatibility
|
Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>
Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>
Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>
GuptaManan100
approved these changes
Aug 26, 2022
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.
Looks good to me! This is awesome!
3 tasks
notfelineit
pushed a commit
to planetscale/vitess
that referenced
this pull request
Sep 21, 2022
* Getting rid of external logging Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com> * Fix unit test failures Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com> * Fix static code check Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com> * Fixing linter error Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com> Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com> Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>
timvaillancourt
pushed a commit
to slackhq/vitess
that referenced
this pull request
Aug 16, 2023
* Getting rid of external logging Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com> * Fix unit test failures Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com> * Fix static code check Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com> * Fixing linter error Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com> Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Component: VTorc
Vitess Orchestrator integration
Type: Enhancement
Logical improvement (somewhere between a bug and feature)
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.
Signed-off-by: Rameez Sajwani rameezwazirali@hotmail.com
Description
This PR will remove dependency from orchestrator/external/golib/log and use vitess/go/vt/log in VTORC.
Log entries before the change
I0824 10:42:08.275460 26474 log.go:226] starting orchestrator
2022-08-24 10:42:08 DEBUG db.go:148] Connected to orchestrator backend: sqlite on file::memory:?mode=memory&cache=shared
2022-08-24 10:42:08 DEBUG db.go:181] Initializing orchestrator
2022-08-24 10:42:08 DEBUG db.go:316] Migrating database schema
2022-08-24 10:42:08 DEBUG db.go:242] Migrated database schema to version []
2022-08-24 10:42:08 INFO db.go:196] Connecting to backend :3306: maxConnections: 128, maxIdleConns: 32
I0824 10:42:08.340530 26474 log.go:226] Starting Discovery
I0824 10:42:08.340548 26474 log.go:226] Registering endpoints
2022-08-24 10:42:08 INFO orchestrator.go:343] continuous discovery: setting up
2022-08-24 10:42:08 DEBUG queue.go:96] Queue.startMonitoring(DEFAULT)
2022-08-24 10:42:08 INFO http.go:165] Starting HTTP listener on :6931
2022-08-24 10:42:08 INFO orchestrator.go:375] continuous discovery: starting
Log entries after the change
I0824 10:55:34.771867 32574 main.go:183] starting orchestrator
I0824 10:55:34.773021 32574 config.go:512] Read config: /Users/rameezsajwani/Code/fork/vitess/vtdataroot/vtroot_7101/tmp_7103/orc-config-1661363733717036000.json
I0824 10:55:34.773237 32574 db.go:148] Connected to orchestrator backend: sqlite on file::memory:?mode=memory&cache=shared
I0824 10:55:34.773256 32574 db.go:311] Initializing orchestrator
I0824 10:55:34.774282 32574 db.go:321] Migrating database schema
I0824 10:55:34.830636 32574 db.go:244] Migrated database schema to version []
I0824 10:55:34.830699 32574 db.go:198] Connecting to backend :3306: maxConnections: 128, maxIdleConns: 32
I0824 10:55:34.835418 32574 http.go:130] Starting Discovery
I0824 10:55:34.835438 32574 http.go:134] Registering endpoints
I0824 10:55:34.835499 32574 orchestrator.go:344] continuous discovery: setting up
I0824 10:55:34.835940 32574 queue.go:96] Queue.startMonitoring(DEFAULT)
I0824 10:55:34.840009 32574 http.go:165] Starting HTTP listener on :7131
I0824 10:55:34.843928 32574 orchestrator.go:376] continuous discovery: starting
Related Issue(s)
Checklist
Deployment Notes