[GH-ISSUE #7044] Support detailed logs for each request #4470

Closed
opened 2026-04-12 15:23:46 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @fzyzcjy on GitHub (Sep 30, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/7044

Hi thanks for the library! In order to see what happens, it would be great to see detailed logs for each request. For example, not only the real string send into LLM, but also temperature, top_p, etc. It would be even greater if these could be output to a separate log or tracing service etc.

Originally created by @fzyzcjy on GitHub (Sep 30, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/7044 Hi thanks for the library! In order to see what happens, it would be great to see detailed logs for each request. For example, not only the real string send into LLM, but also temperature, top_p, etc. It would be even greater if these could be output to a separate log or tracing service etc.
GiteaMirror added the feature request label 2026-04-12 15:23:46 -05:00
Author
Owner

@LakshmanKishore commented on GitHub (Oct 7, 2024):

When we set OLLAMA_DEBUG="1", we can see the question sent to the LLM, but the response from the LLM is not displayed in the logs. It would be helpful to include the LLM's response in the logs as well.

<!-- gh-comment-id:2396432565 --> @LakshmanKishore commented on GitHub (Oct 7, 2024): When we set OLLAMA_DEBUG="1", we can see the question sent to the LLM, but the response from the LLM is not displayed in the logs. It would be helpful to include the LLM's response in the logs as well.
Author
Owner

@fzyzcjy commented on GitHub (Oct 7, 2024):

Totally agree. Also showing the parameters would be great.

<!-- gh-comment-id:2396567055 --> @fzyzcjy commented on GitHub (Oct 7, 2024): Totally agree. Also showing the parameters would be great.
Author
Owner

@rick-github commented on GitHub (Oct 8, 2024):

https://github.com/ollama/ollama/issues/6565

<!-- gh-comment-id:2400968147 --> @rick-github commented on GitHub (Oct 8, 2024): https://github.com/ollama/ollama/issues/6565
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#4470