Make some fixes to logging in PVF subsystem (#6180)

* Log exit status code for workers

* Make log for execute job conclusion match prepare job conclusion

Trace log for conclusion of prepare job:

```rs
gum::debug!(
	target: LOG_TARGET,
	validation_code_hash = ?artifact_id.code_hash,
	?worker,
	?rip,
	"prepare worker concluded",
);
```

Co-authored-by: parity-processbot <>
This commit is contained in:
Marcin S
2022-10-26 11:49:51 -04:00
committed by GitHub
parent d40b31791d
commit d4e3501ec2
3 changed files with 18 additions and 6 deletions
+2 -2
View File
@@ -247,9 +247,9 @@ fn handle_job_finish(
gum::debug!(
target: LOG_TARGET,
validation_code_hash = ?artifact_id.code_hash,
?worker,
worker_rip = idle_worker.is_none(),
?result,
"job finished.",
"execute worker concluded",
);
// First we send the result. It may fail due the other end of the channel being dropped, that's