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 Sandparity-processbot authored and GitHub committed 2022-10-26 17:49:51 +02:00
1 parent d40b31791d
commit d4e3501ec2
3 files changed
+18 -6

No files matched your search

+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