Last updated

Audit log and diagnostics files

Point of Sale

Audit log and diagnostics files

The CartWhizz POS app writes down every sensitive action at the counter the moment it happens, and keeps a log of what the till does. You see both in the admin: the audit log of each shift, and the diagnostics files a manager sends from a till when something goes wrong.

The audit log of a shift

Open Point of sale → Shifts and cash-up and pick a shift. Under the drawer count (opening float, expected and counted cash, the difference) is the audit log the till sent when the shift closed.

What the till recordsWhen
Manager approvedA manager's PIN allowed something beyond the cashier's role: a discount over the limit, a price change, a quantity, a no-sale, a pay-out, a closing difference
Wrong manager PINA wrong PIN on the approval sheet
Line removed · Bill cleared · Held bill discardedA line taken off an open bill, a bill cleared, a parked bill thrown away
Refund · Sale voidedMoney given back on a return; a completed sale voided in its shift
Drawer opened · Drawer refusedEvery time the cash drawer opens (a cash sale, a refund, a pay-in or pay-out, a no-sale), and a no-sale the role did not allow
Wrong staff PIN · Locked out · UnlockedPIN failures at the lock screen, a person locked out after too many, and a manager unlocking them

Each line shows when, who did it, who approved it (and whether the PIN was checked on the till because it was offline, or by the server), the amount, the reason and the bill. Filter by action, person (who did it or who approved it) or till, and press Export CSV to keep or share the list.

  • The till sends its audit log with the shift close. Sending the same close again never adds a line twice.
  • PIN failures at the lock screen before a shift opened are sent with the next close.
  • A till keeps 2000 entries between closes by default (Till settings → Diagnostics → Audit entries kept between closes, up to 5000). Beyond that it drops the oldest and the shift says how many.
  • The bill keeps the time of each approval it used and is linked to the approval itself, so a bill's discount can always be traced to the manager who allowed it.

Who can see it: people with Manage POS, Manage settings or View other shifts' reports (pos_view_reports).

Diagnostics files

When a till misbehaves, a manager opens Settings → Diagnostics on the till and taps Send diagnostics, with an optional note. The till sends a zip of its recent log and sync status. Customer details, PINs, payment references and tokens are removed before it leaves the till. The till then shows a reference like DG-7K3M-9Q2P: read it to CartWhizz support.

Open Point of sale → Diagnostics files to see every file: the reference, the till and counter, when it came, its size, the app version and the manager's note. Pick a till to see only its files (the files icon on Point of sale → Devices opens them too).

  • Download gives you the zip for support. Delete removes it now; its reference stays in the list. Only people with Manage POS can download or delete a file, and each download and deletion is in the activity log.
  • Files are never public. They are stored encrypted in private storage and handed out only through this page.
  • Each file is checked before it is kept: it must be a zip within the size limit, and a file that unpacks to far more than its size (a "zip bomb") is refused.
  • Files are deleted after 30 days by default. Shortening the time also deletes older files within the hour.

If uploads are off, or the till is offline, the till offers Save file and Share file instead, so the file can still reach support.

The settings

Till settings → Diagnostics (for the whole store, and any counter can differ):

SettingDefaultWhat it does
Crash reportingOnSends crash reports to CartWhizz without customer details, PINs or payment references
Share of crash reports100 %Lower it only if a till sends too many
Log detailInformationDebug adds request timings, for a support session
Keep logs for7 daysDays a till keeps its log
Largest log20 MBThe oldest days go first
Lines kept in a browser5000The web till keeps its log in memory only
Largest diagnostics file10 MBOlder logs are left out to fit
Days of log sent2How far back Send diagnostics goes (never more than the days kept)
Quiet time between notices60 secondsHow long a till waits before another notice about the same printer, scanner or sync problem
Audit entries kept between closes2000Beyond this many, the oldest are dropped and counted

Till settings → Diagnostics files (whole store):

SettingDefaultWhat it does
Receive diagnostics filesOnOff: tills save and share their files instead
Largest file received25 MBA larger file is refused
Keep files for30 daysThen the file is deleted for good
Files per till each hour10More are refused until the hour passes

Crash reports go to CartWhizz's crash-reporting service only when the platform has one set up; switching Crash reporting off for the store, or for one counter, stops that till's reports.