[PR #12279] [MERGED] logutil: fix source field #13765

Closed
opened 2026-04-13 00:35:47 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/12279
Author: @mxyng
Created: 9/12/2025
Status: Merged
Merged: 9/16/2025
Merged by: @mxyng

Base: mainHead: mxyng/fix-logutil-source


📝 Commits (1)

  • 11fb581 logutil: fix source field

📊 Changes

1 file changed (+12 additions, -2 deletions)

View changed files

📝 logutil/logutil.go (+12 -2)

📄 Description

this change skips some callers so it can correctly output the source

e.g.

time=2025-09-12T16:01:02.521-07:00 level=TRACE source=bytepairencoding.go:244 msg=decoded string=? from=[43]

vs.

time=2025-09-12T16:01:52.375-07:00 level=TRACE source=logutil.go:33 msg=decoded string=? from=[43]

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/12279 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 9/12/2025 **Status:** ✅ Merged **Merged:** 9/16/2025 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/fix-logutil-source` --- ### 📝 Commits (1) - [`11fb581`](https://github.com/ollama/ollama/commit/11fb58129b7d2e5eec66385ddab5888772d61fa6) logutil: fix source field ### 📊 Changes **1 file changed** (+12 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `logutil/logutil.go` (+12 -2) </details> ### 📄 Description this change skips some callers so it can correctly output the source e.g. ``` time=2025-09-12T16:01:02.521-07:00 level=TRACE source=bytepairencoding.go:244 msg=decoded string=? from=[43] ``` vs. ``` time=2025-09-12T16:01:52.375-07:00 level=TRACE source=logutil.go:33 msg=decoded string=? from=[43] ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-13 00:35:47 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#13765