You are viewing limited content. For full access, please sign in.

Question

Question

What triggers Forms audit log rollover in Laserfiche 12?

asked on November 27

I’m testing Forms auditing in a self-hosted Laserfiche 12 environment. I enabled auditing in Forms, configured the default Forms audit folder in Audit Trail, and confirmed that a test action created a current.lfa_log file. So far, I haven’t seen a separate rollover file.

I found the size and age settings for repository audit logs, but I couldn’t find anything that explains how Forms audit logs roll over. Does anyone know:

  • Does current.lfa_log roll over based on a date boundary, file size, or both? Are those thresholds configurable?
  • If it’s date-based, does it roll over automatically at midnight, or only when the next audited event is written? Which time zone does it use?
  • Is there a supported way to trigger a rollover on a test instance?
  • What folder structure and filename should I expect for a closed rollover, and how can I tell that Audit Trail is done writing to it?

I’m trying to verify how to distinguish a closed rollover from the active log without moving or renaming either file. Thanks for any insight!

0 0

Answer

SELECTED ANSWER
replied on December 1

Hi, Blake,

 

On Audit Trail side, Forms audit log rollover is based on event count and event time range. The default setting is to perform rollover when any of the following conditions are met. The conditions are checked on arrival of new audit event. Currently there is no way to manually trigger rollover.

1. audit event count in current.lfa_log >= 100000

2. (event time of last audit event in current.lfa_log) - (event time of first audit event in current.lfa_log) > 1 day.

 

Currently there is no UI to set these settings. You can view and change "archiveDays" and "archiveCount" in file %ProgramData%\Laserfiche\AuditAnalytics\ArchiveOptions.json. Restart Laserfiche Audit Event Hub service for the change to take effect.

 

Audit log files after rollover are organized in subfolders by date. E.g. "2026\11\05-0.lfa_log". You can find them in the same folder as current.lfa_log.

 

Note that all date time involved here are event time of audit event which should be UTC.

0 0

Replies

replied on November 30

Hi Blake,

Each Forms process (the web app, the Routing Engine service, and Forms Config) writes audit events to a persistent file-based queue under C:\ProgramData\Laserfiche\Forms\Audit\Intermediate\<process>\ by default (this path can be relocated in Forms Config, which migrates existing files). The current file there is rotated when it reaches 1,000 events — it's a fixed internal batching threshold, not date-based, and not configurable. This rotation is only flow control: rolled files are sent to the Audit Trail server over its queue port (TCP 10256) and deleted once acknowledged; pending events are transmitted without waiting for a rotation. You should treat these files as internal — they're a buffer, not an archive.

The current.lfa_log is controlled by Audit Trail, Forms won't determine the size, date boundary or rollover strategy, I find some reference for you https://doc.laserfiche.com/laserfiche.documentation/12/userguide/en-us/content/report-audit-logs.htm, maybe a member from AT can explain this more.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.