Is there an official or recommended procedure for clearing log files generated by Hamilton VENUS?
I’m reviewing disk usage and noticed the VENUS log directory contains .mdf and .ldf files. I want to ensure we’re following the correct process and not removing anything required for system integrity or traceability.
Additionally, instead of deleting older log files, is there a supported way to move or archive older log folders to another directory for long-term storage?
In VENUS 6, under Settings > General, there is an option for Run History Management, which handles automatic clean up of the LogFiles folder. Options include “files older than” timespan, and whether to delete the files or move them to a new folder:
Earlier versions of VENUS require either manually cleaning up these folders or using other tools/scripts to automatically delete/archive the files. When performing this step manually, the files of interest to remove are: .trc, .mdf, .ldf, and tadm.mdb files. Files outside of those listed may be tied to specific methods or libraries and need to be considered on a case-by-case basis. If not deleting these files, than simply cut/pasting to a new location will be sufficient. Note that administrator or specific user rights are required to move/delete mdf/ldf files.
For more information regarding the mdf/ldf files themselves, refer to this post.