tonytautai home/local-ai/run-local-ai/running/production/operate/monitoring

grep -i error ./inference.log

Logs That Explain, Not Just Record.

Local ai monitoring logging answers two different questions, is it up and what happened to request such-and-such, without storing the documents themselves.

Tony Tautai

local ai monitoring logging

Two Different Questions

local ai monitoring logging

Monitoring asks: is it up, is it fast, is it full. Logging asks: what happened to request such-and-such. People conflate them and end up with dashboards that cannot explain a single bad output. Done properly, both get answered without storing the documents themselves. The surrounding routine is in back to operating local ai.

What to Monitor

What to Log

local ai monitoring logging

For each request: an identifier, the timestamp, the caller, the model name and version, the input size, the time taken, the outcome, and a hash of the output. Not the input text. Not the output text. If reviewers need to see the document that produced a bad result, they fetch it by identifier from the document store, which has its own access control. This split is what lets a firm bound by secrecy keep useful logs at all.

Quality Is a Metric Too

Uptime does not catch a model quietly getting worse. Keep a small frozen set of documents with known correct answers and run it through the live server every week. Plot the score. When it drops, something changed: a model update, a parser library, a quantisation setting. This is cheap, and it is how we would notice drift on a customer's Tavaka before the customer did.

Who Reads This

A log nobody reads is storage. Decide who looks at the error log and the weekly quality score, and give them an hour. Where several teams share the machine, per-team views matter, which is where our guide to multi user local ai deployment comes in. And every change to the model must appear in the log the same day, which is the discipline set out in our guide to local ai model update policy.

The rule we keep coming back to: record enough to explain any output, and never enough to leak one.

local ai monitoring logging

ssh [email protected]

Prove it on your documents.

Every engagement starts the same way: we run the system on a sample of your own files, under NDA/DPA, and hand you a written report with the scores, misses included. No commitment.

Test it on my documents Request a diagnostic