Refactor logging #357

Open
opened 2025-12-28 17:37:07 +00:00 by sami · 0 comments
Owner

Originally created by @masterSplinter01 on GitHub (Dec 15, 2022).

Logging in the GW seems chaotic a bit, so it'd be nice to reconsider and refactor it.
Ideally, logs should look similar to:

 {"status": 404, "request_id": "1239f4b6-a9d8-462a-b8fd-60b9333f5113", "method": "PutObjectACL", "bucket": "test", "containerID":"cid",  "object": "c", "objectID:" "oid"}

Of course, containerID and objectID would be fulfilled only if possible.

Originally created by @masterSplinter01 on GitHub (Dec 15, 2022). Logging in the GW seems chaotic a bit, so it'd be nice to reconsider and refactor it. Ideally, logs should look similar to: ``` {"status": 404, "request_id": "1239f4b6-a9d8-462a-b8fd-60b9333f5113", "method": "PutObjectACL", "bucket": "test", "containerID":"cid", "object": "c", "objectID:" "oid"} ``` Of course, `containerID` and `objectID` would be fulfilled only if possible.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-s3-gw#357
No description provided.