Skip to main content

How models are made

What keeping logs on your own machine actually meanspractitioner-perspective methodology · key facts carry official sources

Unpack "logs stay local" into three lines: where they are written, who can read them, and how long they persist. Each item points at the runner's own documentation, and explains why disk encryption, backup sync and bind address are not contained in those four words.

A storage-location statement, not a confidentiality promise

"Keeping logs local" is a statement about where files are written. It is not a confidentiality promise.

It says the target path is on this machine. It does not say who can read them, whether copies exist elsewhere, or how long they persist.

This site does not judge any compliance obligation for you and never writes "local" as "safe". This guide gives the checking order and where the evidence lives.

Separate the three lines first

The three questions need three kinds of evidence; collapsing them into the word "local" loses things.

  • Where they are written: logs, chat history, crash dumps, caches and temporary files are separate targets.
  • Who can read them: account permissions, process permissions, whether the volume is encrypted, and whether backups synchronise.
  • How long they persist: rotation policy, retention ceiling, and whether historical copies survive deletion.

When documentation gives no answer there is one handling rule: record it as not stated. Do not substitute "that is how it usually goes" for an answer.

Where the files land by default

Only the runner's own documentation answers this layer. This site reads no machine on your behalf.

  • Ollama's troubleshooting page gives log locations: macOS reads ~/.ollama/logs/server.log; Windows points at the %LOCALAPPDATA%\Ollama folder; Linux is viewed with journalctl -u ollama. Location: troubleshooting.
  • The same vendor's FAQ page states models are stored under ~/.ollama/models; see faq. Model files and logs are different objects with different retention settings.
  • vLLM exposes logging as separate switches: VLLM_CONFIGURE_LOGGING, VLLM_LOGGING_LEVEL, VLLM_LOG_STATS_INTERVAL; see env_vars.
  • The llama-server argument list includes --log-disable and --api-key; see the server argument documentation. Whether request content is written, and at what level, follows that page and the version in use.

Local files do not stay local by themselves

Four channels make "kept local" inaccurate, and each needs handling on its own.

  • Backup and sync: cloud drives and system backup tools copy the log folder along with everything else, and the copy leaves the original path's control.
  • Encryption and where the key goes: Microsoft's BitLocker overview states that full-volume encryption addresses data theft or exposure from lost or stolen devices, and the same page says device encryption backs the recovery key up to Microsoft Entra ID, AD DS or the user's Microsoft account. See BitLocker Overview.
  • Bind address: Ollama's documentation changes the bind address with OLLAMA_HOST; see faq. Bound to all interfaces, other machines on the same network can send requests.
  • Credentials: settings such as --api-key decide who may call the local service, and both the key and the traffic it protects can appear in other logs.

Encryption protects data at rest; where the key lives is a separate matter. All four channels can be closed, but none closes automatically because of the word "local".

What the logs actually carry

Log content is decided by the runner, and this site assumes no fields on any implementation's behalf. Check the four categories separately.

  • Request side: prompt text, attachments or file paths, tool-call arguments, system prompt content.
  • Response side: generated text, error messages, and where output was truncated.
  • Runtime side: timestamps, durations, concurrency, request identifiers and caller addresses.
  • Derived copies: crash dumps, response bodies written while a debug switch is on, and statistics logged at an interval.

One vLLM variable writes API-server responses to the log for debugging. Another records statistics at an interval. On and off are two different facts.

Whether a field is persisted, into which file, and at what level all go back to that runner's documentation rather than to convention.

Retention and deletion, in order

Skip one step in this order and deletion becomes an illusion. Do the five steps in sequence and date each one.

  • First list the write points: logs, chat history, cache, temporary files and crash folders as separate lines.
  • Then set the ceiling: rotation by age or by size, and who configured it.
  • Then look for copies: backups, sync folders, snapshots and container volumes.
  • After deleting, re-check: inspect the original path and the copy locations once each, with a record for both.
  • Finally record the scope: what was checked, on which date, and how far the conclusion reaches.

Step five proves only the state on the day it was recorded. It proves nothing about the past and guarantees nothing about the future.

The capacity and cost side-effect

Logs consume disk, not the memory budget the capacity workbench calculates. Keep the two bills in separate columns.
- Estimate growth yourself as daily writes times retention days; this site publishes no generic figure.
- Task-memory assumptions, fields and units are entered in the workbench: context and concurrency budget.
- Record cost components with the cost calculator; storage and backup are separate lines inside it.
- The workbench's KV formula covers only standard full-attention MHA/GQA decoders with identical layers and has no derivation link to log retention. MLA, hybrid and sliding-window designs need separate arithmetic, and disk is not in that formula at all.

What this does and does not establish

What can be said: this machine can list its write points, permissions and retention periods, and each check carries a date.

What cannot be said: that running locally satisfies a given compliance requirement; that encryption means nobody can read it; that deleting a file means no copy exists.

  • No legal opinion, and no substitute for obligations in your own jurisdiction.
  • No ranking of "which deployment is more private", and no calling a particular runner safer.
  • Fields not checked stay blank; local convention is not used to fill them in as facts.

Result checks and troubleshooting entry points: the 20-item self-test and troubleshooting by symptom.

How this differs from the Learn site

The Learn site's data residency, privacy and compliance, local deployment and observability pages are one-page explainers for users.

This guide gives the checking order, evidence locations and statement boundaries. Same concept, different depth, cross-linked without duplication.

For the pre-run overview see "Seven checks before a local run starts", and for formula limits see "GPU facts and cost math".

Sources

Base source snapshot: 2026-11-06; item-specific additions and check scope appear in the text and source labels. Check original specifications, methods and conditions.