-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
Feature Description
In some cases, like this forum question, can be helpful to know which specific VU is executing the code or just know that the logs are generated by one of the VUID == 0
(options resolution, babel transpiler, setup, teardown, handle summary).
This was originally proposed during the Init Context's implementation of the console.log
.
Suggested Solution (optional)
And if we can fix the configuration challenges you describe (sob), have proper loggers per-VU, and actually implement #889 and attach (via log.WithFields()) the VU ID to each log message, any user confusion from multiple identical messages will likely disappear.
This suggested solution from the original issue is still a valid option.
Already existing or connected issues / PRs (optional)
#951
#2344 - We want to deprecate common.Bind
that is how the console.log
is defined. A refactor on that side will be for sure beneficial also for the current issue.