Administration and integrations

Audit log

Every change Logley has recorded — who changed what, when, and what the value was before and after. This is the page you open when someone asks "why does this invoice say that?"

ABOUT 8 MINUTES4 SECTIONSCHAPTER 5 OF 19

Reached from Settings → Privacy and audit → Audit log, or at /audit-log. Requires the settings.admin permission; the Settings menu does not list it for anyone else.


Reading the table

A person by their sign-in, a background job as System. The chevron at the end of a row opens its before-and-after.
ColumnWhat it tells you
TimestampWhen the change happened
ActorWho made it: a user, by email address; Agent and the name of the API key that made it; Assistant for the in-app assistant; or System for anything a background job did
Actioncreated, updated, deleted, approved, auto-approved, rejected, confirmed (a payment a bank statement line only proposed, confirmed by a person), sent or send failed; a copy of a document already on file, refused (see below); and, for the subscription bought on the Licence page, checkout started, cancellation scheduled, cancellation withdrawn, plan switched or billing opened; and, for an API key, revoked, first used or authentication failed (see below)
Entity typeDocument, Company (a company on the Companies page, whether we buy from it, bill it or both), Customer (a billing customer's own record), Payment, Shipment, AutomationRule, RateCard, SellRateCard, IssuedInvoice, OutboundEmailLog (an email sent to someone outside the organization), ErpIntegration, OrganizationSettings, License, LicenseSupportGrant, Subscription or API key. Rows written before this version name a company Supplier, or Customer if it was typed as one; the Company filter finds the Supplier rows too
EntityWhich record — a filename, a shipment number, a company name. A payment is its amount and the invoice it pays
IPThe address the request reached Logley from. A dash means it was not a browser request (background jobs have no IP). A browser on the server itself shows the server's own address

The before/after diff

Click the chevron at the end of any row. The row expands to show exactly what changed, field by field:

Status   ocr → error

Only the fields that actually changed are listed, so a one-field edit shows one field. A row that records a creation lists what the record was created with. Fields shown in grey are not changes: they say which record changed, such as the invoice a confirmed payment pays. This is the part of the page worth knowing about — the table alone tells you that something changed; the diff tells you what.

A payment opens with a line of its own: the amount, the invoice it pays, where the evidence came from (a bank statement line matched automatically, linked by hand, or proposed for confirmation; a scanned receipt; or recorded by hand), and the statement line's reference. Payments recorded before this version show only their amount.

Values Logley works out for itself are not recorded: a company's health score, grade and the time they were last computed, and the totals kept from its invoices. They are recalculated every few hours and whenever someone opens the company, and each recalculation used to be an updated row, under the person who opened the page. A save that changes nothing else leaves no row.

Approved and auto-approved are different actions. Approved is a person signing an invoice off; auto-approved is the pipeline doing it, with System as the actor and the checks it passed in the diff's ApprovalNote. Filter on auto-approved to see every invoice nobody looked at.

A file that arrives again

A file whose content matches a document already on file does not become a second document. Each time it happens the log gets a row against the document that has that content, under the name the file arrived with, followed by the invoice number of the document it duplicates (or its file name, when no number was read): Vistula_invoice_resend.pdf (duplicate of INV-2026/118).

ActionHow it cameActor and IP
Upload rejected (duplicate)Someone uploaded it, or sent it as a new versionThat person, and their address
Folder copy rejected (duplicate)It was dropped in the watch folderSystem, no address. The diff's source reference is its path
Email copy rejected (duplicate)It came as an attachmentSystem, no address. The diff's source reference is the message ID
KSeF copy skipped (duplicate)KSeF sent an invoice already on fileSystem, no address. The diff's source reference is the KSeF number

The document's first arrival is its created row. Rows of this kind start with this version: earlier repeats are listed on the document's own Arrivals card, but not here.

API keys

Who issued access to the organization's data, and who ended it:

ActionWhenActorDiff
CreatedSomeone created a keyThat personIts name, first characters, kind, scopes, rate limit
First usedThe key's first call. Later calls leave no row: Last used on the key's row in Settings says how recent the latest wasAgent and the key's nameNone
RevokedSomeone revoked itThat personIts name, first characters and scopes, and when it was revoked
Authentication failedThe key was refusedAgent and the key's nameReason: revoked or expired

The log never holds a key itself or its hash, and nothing the caller sent.

A key that matches nothing on file has no organization to record it against. On an installation with one organization it is recorded there, as (unknown key) with the reason unknown_key. With several organizations it goes in no organization's log, only the API's own log, as a warning with the address it came from.

Refused keys cannot fill the log. A known key writes one row per reason per hour, however often it is tried. An unknown key writes one row per address per hour, and at most 20 addresses an hour, across the installation. Every attempt is still refused. The count restarts when the API restarts.

Values the log does not keep

Some changes are listed without their value:

You seeForWhy
"[not recorded: 48213 characters]"A document's text as read, its OCR layout and readings, and its summaryThat is the document itself. A copy here would outlive deleting the document, or erasing the person it names
"[not recorded: 1532 characters]"Any other text longer than 1,000 characters, such as an email thread pasted into NotesPast the length of a note, a value is a body of text, not a field. Automation rules, ERP connections and organization settings are always recorded in full
"[redacted]"SMTP password, ERP connection and e-invoicing credentialsSecrets

null still means empty, so a diff shows whether the text was added, replaced or cleared, and how long it was.

Rows recorded before an upgrade to this version are rewritten the same way for a document's text, its OCR and its summary, and for credentials. Any other long text they recorded stays as it was written.

Erasing a data subject (Settings → Privacy and audit → Data requests) keeps the rows, and replaces the email, name or tax ID you erased with [REDACTED] wherever it appears in them.


Filtering

The controls across the top:

  • Entity type — narrow to Documents, Companies, Customers, Payments, and so on; API key for who issued and revoked keys; Subscription for who bought, cancelled or switched the subscription, and License for its activations.
  • Action — narrow to created / updated / deleted / approved / auto-approved / rejected / confirmed / sent / send failed, to one of the refused copies, or to one of the actions of the subscription or of an API key.
  • From and To dates. From defaults to six days ago, so the page opens on the last seven days, today included. Remove the date chip or move the dates to look further.
  • Show system events — off when the page opens, so the log lists what people, API keys and the assistant did. Switch it on to see the background jobs' rows as well, marked System. The export follows the switch.
  • Clear resets the entity type, the action and the dates. It leaves Show system events as it is.

If the log looks suspiciously short when you arrive, check the From date before concluding nothing has happened.


Exporting

Export CSV downloads the log as currently filtered — set the filters first, then export. Use it for compliance evidence or to analyse a period in a spreadsheet.


What to expect in a healthy log

Most rows say System. Ingestion, OCR, classification, matching and the nightly jobs all write here, so a busy day produces hundreds of automated entries and a handful of human ones. That is normal, and it is why the page opens with Show system events off. Switch it on when the question is what a background job did.


Was this guide useful?

If something was missing or unclear, the contact page says where to write.

Contact