Change the Log Directory
This requires at least Iguana version 10.1.91.
The Log Configuration File, log.json, can be used to configure the log directory where you want Iguana to store its log data.
STEP 1: Stop the IguanaX service
Windows command:
iguana --service stop
Linux command:
sudo ./iguana --service stop
STEP 2: Navigate to the your configuration directory
The location of the log.json file should be in your configurations as follows. If you haven't configured a custom log directory location, this file will not exist and you will need to create it!
<Instance Dir>/config/settings/log.json
STEP 3: Create a log.json file and add in your desired log directory using the "log_dir" key
Add a new log directory.
Windows:
Keep in mind the file path format for your operating system (forward slashes for windows!)
{
"log_dir": "C:/ProgramData/IguanaXLogs"
}
Linux:
{
"log_dir": "~/IguanaXLogs"
}
STEP 4: Start the IguanaX service and navigate to your logs to see the new directory.
Windows command:
iguana --service start
Linux command:
sudo ./iguana --service start