You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5a252b2
Browse filesBrowse the repository at this point in the historyBrowse files
Ollama's log: open it without a look first, set it aside on quit (#167)
#166 read the log's size from the open file but then reopened it by name
once it had been set aside, and code scanning counts an open as a look
(js/file-system-race #301). Windows won't let a file opened for adding to
be emptied, so the size check moves to the way out: stopChildren sets a
log past 10 MB aside as ollama.old.log once Ollama is stopped, and the next
start opens a new one with nothing looked at first. A run that ends in a
crash is still in ollama.log after the restart, as before.
Co-authored-by: ColinGPT9 <ColinGPT9@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments