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

feat(node): separate tracing and logging files #1090

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

karlem
Copy link
Contributor

@karlem karlem commented Jul 26, 2024

Close #1084

@karlem karlem requested a review from a team as a code owner July 26, 2024 15:07
Comment on lines +28 to +31
pub fn set_global_tracing_subscriber(
config: &TracingSettings,
) -> Option<(WorkerGuard, WorkerGuard)> {
let (logs_file_layer, traces_file_layer, file_guards) = match &config.file {
Copy link
Contributor

@raulk raulk Aug 30, 2024

Choose a reason for hiding this comment

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

The complexity of this method is too high. It's really hard to follow what it does, and we could document it better as well. I'm going to take a stab at improving this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

Successfully merging this pull request may close these issues.

Segregate the event journal from general logs
2 participants