Setting up Log Retention
Table of Contents:
Setting up Log Retention
Our plugins keep one running copy of a log file, and when FileMaker restarts (or the FMS Scripting Engine restarts for plugins on the server), the log file is erased and the plugin writes a new one with the same name. If you want to retain multiple copies of plugin log files, you can enable log retention.
Go to the corresponding log location, and create a folder named 360FmKit if it does not already exist. Then, inside that folder, create a file called "retain_logs". You can use the terminal command "touch retain_logs" to create the file in that directory. What this will do is set logs to be retained indefinitely. The location will be the same for both local and server plugins.
OSX
Go to /Library/Application Support, and create a folder named 360FmKit, if it does not already exist. Then inside that folder, create a file called "retain_logs". You can use the terminal command "touch retain_logs" to create the file in that directory.
Windows
Go to C:\ProgramData\360Works. Then inside that folder, create a file called "retain_logs". You can use the CMD command "touch retain_logs" to create the file in that directory.