Skip to content

Include the crate name in the publish API's log entry #2228

Closed
@pietroalbini

Description

@pietroalbini

Currently the log entry for a newly published crate looks like this:

Feb 30 25:61:61 crates-io app/web.1 at=info method=PUT path="/api/v1/crates/new" request_id=GGGGGGGG-GGGG-GGGG-GGGG-GGGGGGGGGGGG fwd="999.999.999.999" service=0ms status=200 user_agent="cargo 2.0.0 (000000000 1970-01-01)" metadata_length=1234

Such entry lacks the crate name though, which makes investigating which crate that call added much harder than necessary. We should add the crate name in the same log entry.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions