The log plugin logs all received messages to a file.
log
log_file
The location of the log file.
max_log_days
The number of days for which logs are kept. Set this to zero to keep them indefinitely.