Add part to run_fuzzer output.

Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
This commit is contained in:
Keith Rothman 2020-02-18 11:00:06 -08:00
parent 80add259ed
commit f4fd84625f
1 changed files with 4 additions and 1 deletions

View File

@ -126,8 +126,11 @@ class Logger:
running_for = time_log - self.time_start
msg = msg.format(*args, **kw)
log_prefix = "{:s} - {:s} - {:>5s}: ".format(
time_log = time_log.replace(microsecond=0)
log_prefix = "{:s} - {}/{:s} - {:>5s}: ".format(
time_log.isoformat(),
os.environ['XRAY_PART'],
self.fuzzer,
pretty_timedelta_str(running_for),
)