![]() |
Iris.IfxLite.FilePurger.exe is a command-line utility that helps manage disk space by removing old IRIS log files.
It optionally archives the logs before deletion, ensuring that you maintain historical records while reclaiming valuable disk space.
When archiving is enabled, the tool creates compressed files containing the old log files before deleting them.
The compressed files are created under "IRIS"\Logs\_ArchivedLogs\"Current_IRIS_Version"\Date_Time
Example path for archived logs:
"IRIS"\Logs\__ArchivedLogs\v25.1\20250120_111612\
Subsequent runs of the tool generate additional Date_Time folders under the same folder structure.
The archived logs can be moved to a backup location or deleted as required.
Dry Run - use the `-dry-run` option to preview the impact of the purge operation before executing it.
From an elevated command prompt run "IRIS"\LogPurger\Iris.IfxLite.FilePurger.exe
Syntax:
Iris.IfxLite.FilePurger.exe [-h] [-mode=<mode>] [-purge] [-purge-no-backup] [-dry-run] [-before-days=<days>]
Options:
-h
show this help message and exit.
-purge
archive old log files into .zip archives, then delete the original files.
-purge-no-backup
delete old log files without creating .zip archives.
-dry-run
simulate the selected purge operation without making any changes. This is helpful for previewing which files would be archived and/or removed.
-mode=<mode>
Specify the mode of operation.
The following modes are available:
If not specified, the default mode is 'full'.
-before-days=<days>
Specify the age threshold (in days) that determines which logs are considered old and eligible for purging.
If not specified, the default is 90 days.
One of -purge, -purge-no-backup, or -dry-run must be specified.
Examples:
Dry Run (No Changes):
Iris.IfxLite.FilePurger.exe -dry-run -before-days=7
Shows what would be purged if logs older than 7 days were targeted,
but does not modify any files.
Also displays a summary of the number of files and their sizes that
would be archived and/or deleted.