Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

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:

<Instance Dir>/configurations/logging/log.json

If you don’t have any log purge rules set up in your IguanaX instance you may not have a logging folder. If you don’t, you can just create the logging folder.

 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": "/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

  • No labels