[GH-ISSUE #15168] [logging] please add log-requests and log-requests-format json to help us track the trajectory and llm requests #56220

Closed
opened 2026-04-29 10:26:43 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @maoquan-ms on GitHub (Mar 31, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/15168

we need to add below parameters to help us track the requests send to llms:

--log-requests
--log-requests-format json
--log-requests-target /path/to/save/requests

I can't understand why such a well-regarded project has such a terrible logging system.

Originally created by @maoquan-ms on GitHub (Mar 31, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/15168 we need to add below parameters to help us track the requests send to llms: ``` --log-requests --log-requests-format json --log-requests-target /path/to/save/requests ``` I can't understand why such a well-regarded project has such a terrible logging system.
GiteaMirror added the feature request label 2026-04-29 10:26:43 -05:00
Author
Owner

@rick-github commented on GitHub (Mar 31, 2026):

OLLAMA_DEBUG_LOG_REQUESTS

<!-- gh-comment-id:4166087479 --> @rick-github commented on GitHub (Mar 31, 2026): [`OLLAMA_DEBUG_LOG_REQUESTS`](https://github.com/ollama/ollama/blob/31f968fe1f0f774fe20ee0c64f749e90d54147fd/envconfig/config.go#L308)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#56220