Logs
Harnice keeps a record of what the app did: what you clicked, what went wrong, and whether it crashed. If something breaks, send these files along with what you were doing. They show what happened just before the problem, even when the app closed without a message.
Where the logs are
| How you run Harnice | Folder |
|---|---|
| The app on Mac | ~/Library/Application Support/Harnice/logs/ |
| The app on Windows | %APPDATA%\Harnice\logs\ |
| From a source checkout | logs/ in the root of that checkout |
The files
| File | Holds |
|---|---|
last_5_minutes.log |
Everything from the last 5 minutes |
last_day.log |
Everything from the last 24 hours |
last_week.log |
Everything from the last 7 days |
last_month.log |
Everything from the last 30 days |
month_2026-11.log |
Everything from that calendar month, one file per month |
Each rolling file drops its older lines as time passes. Harnice keeps the last 12 month files and deletes older ones. For a problem you just hit, last_5_minutes.log or last_day.log is usually all that is needed.
What a line looks like
Each line has the time, what kind of event it was, and a few details:
2026-11-21 11:17:00 action what=click id=open-source-btn tag=button frame=console page=pdf drawing
2026-11-21 11:17:00 error what=console name=TypeError message=Cannot read properties of null
2026-11-21 11:17:09 crash what=an earlier session ended without shutting down (crash, force quit or power loss)
| Kind | Meaning |
|---|---|
session |
Harnice started or shut down |
action |
A click, a keyboard shortcut, a page switch, or a message box |
request |
Something the window asked Harnice to change, or a request that failed |
slow, freeze |
A request that took a while, or the window stopped responding for a moment |
error |
Something went wrong in the window or behind it |
crash |
Harnice crashed, or the last session never shut down |
A crash that closes the app cannot always be written down as it happens. The next time Harnice starts, it notices the earlier session never shut down and writes a crash line then.
What the logs never hold
The logs never contain your project content. That means no file paths, no project, part or file names, no refdes, no part numbers, and no text from your files. Harnice removes those before anything is written. Error messages keep only words that also appear in Harnice's own code. Every other word is replaced with <x>, so a path such as /Users/you/Acme/main-harness is logged as /Users/<x>/<x>/<x>.
Typing is never recorded. Only keyboard shortcuts, such as Cmd+S, are.
Short, common words can still appear when Harnice's own code uses the same word, such as power or J1.
Slow-request threshold
A request is logged as slow when it takes 200 ms or longer. To change that, set the HARNICE_PERF_LOG_MS environment variable to a number of milliseconds. Set it to 0 to leave out slow and freeze lines. Everything else is still logged.