Hi everyone,
In some case, bug notifications are not sent... I don't understand why.
Is there a solution to see if an email has been sent when someone did a change. A great mean would be to store in the bug history the email notification.
Thanks in advance if you have any idea.
Regards
Grégory
Tracking or logging email
Moderators: Developer, Contributor
Re: Tracking or logging email
any solutions for this problem?El_Greg wrote:Hi everyone,
In some case, bug notifications are not sent... I don't understand why.
Is there a solution to see if an email has been sent when someone did a change. A great mean would be to store in the bug history the email notification.
Thanks in advance if you have any idea.
Regards
Grégory
Re: Tracking or logging email
In config_inc.php add the following lines (if you don't have config_inc.php copy/rename config_inc.php.sample)
# --- system logging ---
# This controls the logging of information to a separate file for debug or audit
# $g_log_level controls what information is logged
# see constant_inc.php for details on the log channels available
# e.g., $g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT | LOG_FILTERING | LOG_AJAX;
#
# $g_log_destination specifies the file where the data goes
# right now, only "file:<file path>" is supported
# e.g. (Linux), $g_log_destination = 'file:/tmp/mantis.log';
# e.g. (Windows), $g_log_destination = 'file:c:/temp/mantis.log';
# see http://www.php.net/error_log for details
$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;
$g_log_destination = 'file:c:/mantis/mantis.log';
Of course change the location of the log file to a valid location on your installation.
# --- system logging ---
# This controls the logging of information to a separate file for debug or audit
# $g_log_level controls what information is logged
# see constant_inc.php for details on the log channels available
# e.g., $g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT | LOG_FILTERING | LOG_AJAX;
#
# $g_log_destination specifies the file where the data goes
# right now, only "file:<file path>" is supported
# e.g. (Linux), $g_log_destination = 'file:/tmp/mantis.log';
# e.g. (Windows), $g_log_destination = 'file:c:/temp/mantis.log';
# see http://www.php.net/error_log for details
$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;
$g_log_destination = 'file:c:/mantis/mantis.log';
Of course change the location of the log file to a valid location on your installation.