Skip to main content

Log Configuration File

Log configurations are stored in the Configuration Files logging directory:

<working Dir>/config/settings/log.json   

The logging directory stores two main log configuration files:

logging.json contains configured log purge rules

The log.json file will be created when log purge rules are configured in Iguana. It can be found:

<working Dir>/config/settings/log.json   

The contents of logging.json may look as follows:

[   
{
"days_to_keep": 7,
"hash": "*"
},
{
"days_to_keep": 1,
"hash": "#demo"
}
]

log.json contains the log directory location

The log.json file is a configuration file you will need to create in your configuration files if you want to configure Iguana to store it's logs in a different log directory. The location of the log.json file is:

<working Dir>/config/settings/log.json   

The contents of the log.json file may look as follows:

{   
"log_dir": "/Users/Documents/logs"
}

See Change the Log Directory for more details on how to implement this change.