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

Question

Question

Change LFDS AuditLog Storage Location

asked on August 23, 2023

By default the LFDS audit logs store to "C:/ProgramData/Laserfiche/LFDS/AuditLog/LF_LFDS" which is causing issues for a customer as it is filling up that C drive.  While we can manually move the older files to a different drive, we'd also like to update the configuration so it creates the new logs on this different drive.  I was unable to find anywhere in the version of LFDS they are running (11.0.2303.1978) where I can configure the location the audit logs.  However in the "LFDS.exe.config.xml" file I was able to find a key named "AuditLogFolder" that points to that location. 

Can I just update this key to point to the new location on the different local drive (e.g. "D:\LFDS Logs") and then restart the LFDS service for it to take effect? 

0 0

Answer

APPROVED ANSWER
replied on August 23, 2023

Yeah, you can update the AuditLogFolder key to another local path. Haven't tested it with a UNC/remote path. 

I would recommend:

  1. Stop the Laserfiche Directory Server Windows service
  2. Copy the C:\ProgramData\Laserfiche\LFDS\AuditLog\ directory to "D:\LFDS Audit Logs\Audit Log\" (or other path).
  3. Make sure the Laserfiche Directory Server service identity has read/write permissions on the new directory
  4. Change the "LFDS.exe.config" file's AuditLogFolder value to "D:\LFDS Audit Logs\" and save
  5. Start the Laserfiche Directory Server service back up
  6. Do something that generates an audit event
  7. Check the Directory Server Windows event log for any potential related errors
  8. Once you're satisfied there are no issues, delete the contents of the original directory to reclaim disk space. Empty the Recycle Bin if necessary.
0 0

Replies

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

Sign in to reply to this post.