Don't log job arguments

This commit is contained in:
Aode (lion) 2021-11-22 19:03:19 -06:00
parent 85278110ce
commit 637842d298
2 changed files with 1 additions and 2 deletions

View file

@ -1,7 +1,7 @@
[package] [package]
name = "background-jobs-core" name = "background-jobs-core"
description = "Core types for implementing an asynchronous jobs processor" description = "Core types for implementing an asynchronous jobs processor"
version = "0.11.0" version = "0.11.1"
license = "AGPL-3.0" license = "AGPL-3.0"
authors = ["asonix <asonix@asonix.dog>"] authors = ["asonix <asonix@asonix.dog>"]
repository = "https://git.asonix.dog/asonix/background-jobs" repository = "https://git.asonix.dog/asonix/background-jobs"

View file

@ -151,7 +151,6 @@ fn job_span(job: &JobInfo) -> Span {
execution_id = tracing::field::display(&Uuid::new_v4()), execution_id = tracing::field::display(&Uuid::new_v4()),
job.id = tracing::field::display(&job.id()), job.id = tracing::field::display(&job.id()),
job.name = tracing::field::display(&job.name()), job.name = tracing::field::display(&job.name()),
job.args = tracing::field::debug(&job.args()),
job.execution_time = tracing::field::Empty, job.execution_time = tracing::field::Empty,
exception.message = tracing::field::Empty, exception.message = tracing::field::Empty,
exception.details = tracing::field::Empty, exception.details = tracing::field::Empty,