Skip to content
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

fix: span names, log levels and messages #1213

Conversation

jonaro00
Copy link
Member

@jonaro00 jonaro00 commented Sep 8, 2023

Description of change

How has this been tested? (if applicable)

Copy link
Contributor

@chesedo chesedo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@jonaro00
Copy link
Member Author

jonaro00 commented Sep 8, 2023

Missed a detail on colorize. We can probably remove tracing feature from codegen now because of the move.

@@ -64,6 +64,43 @@ pub async fn start(loader: impl Loader<ProvisionerFactory> + Send + 'static) {
}
};

// this is handled after arg parsing to not interfere with --version above
if cfg!(feature = "setup-tracing") {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this was moved to here from codegen?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not needed in codegen, and it interfered with the arg parsing of runtime, which the comment states.

@iulianbarbu
Copy link
Contributor

Missed a detail on colorize. We can probably remove tracing feature from codegen now because of the move.

It might be readded because of shuttle-next. I am still working through the default tracing for it, blocked by some wasmtime related impl details.

Copy link
Contributor

@oddgrd oddgrd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Just left some questions.

Copy link
Contributor

@iulianbarbu iulianbarbu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! Only the qs around the commenting of auth trace which we'll discuss soon.

Copy link
Contributor

@iulianbarbu iulianbarbu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! resolved my comments

@jonaro00 jonaro00 merged commit b8bedf7 into shuttle-hq:feat/shuttle-logger-service Sep 11, 2023
@jonaro00 jonaro00 deleted the fix/logger-lines-fixes branch September 11, 2023 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants