-
Notifications
You must be signed in to change notification settings - Fork 0
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
chronicle executor spawns tasks with structured logs #964
Conversation
chronicle/src/tasks/executor.rs
Outdated
}; | ||
self.task_spawner.execute_sign(shard_id, task_id, payload.into(), block_number) | ||
}, | ||
TaskPhase::Write => { | ||
let Some(public_key) = self.substrate.get_task_signer(task_id).await? else { | ||
tracing::warn!("no signer set for write phase"); | ||
tracing::warn!("no signer set for write phase for task {task_id}"); |
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.
we want a structured log, see how it's done in the chronicle service. something along the lines of task_id=task_id
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.
exactly. thanks for working on this. need this in the entire chronicle and tss module to help debug issues
This seems to have broken my clippy... |
Looks like CI is broken |
Closes #958 to structure logs for executor when spawning tasks, should facilitate debugging