System Logging

The system logging interface is used to extract detailed debugging information for the Mantis system. It can also serve as an audit trail for user actions.

$g_log_level

This controls the type of logging information recorded. Possible values include:

LOG_EMAIL

logs issue id, message type and recipients for all emails sent

LOG_EMAIL_RECIPIENT

logs the details of email recipient determination. Each user id is listed as well as why they are added, or deleted from the recipient list

$g_log_destination

specifies the file where the log data goes. This file must be writable by the web server userid running mantis. Right now, only "file:<file path>" is supported. For example, $g_log_destination = 'file:/tmp/mantis_log'; See http://www.php.net/error_log for details.