Limit number of emails sent per minute.
This commit is contained in:
@@ -26,6 +26,9 @@
|
||||
%% The receiver to use for the application errors.
|
||||
{admin_receiver, "salvini.fabio001@gmail.com"},
|
||||
|
||||
%% Maximum number of emails per minute.
|
||||
{max_emails_per_minute, 0},
|
||||
|
||||
%% Subject of the email.
|
||||
%% Placeholders:
|
||||
%% %f: the full path of the log file (ex. /var/log/myapp.log).
|
||||
@@ -42,7 +45,7 @@
|
||||
},
|
||||
|
||||
%% Location of the file that contains the logs to monitor.
|
||||
{logfiles_config, "/home/fsalvini/gitRepos/log_monitor/config/logfiles.config"}
|
||||
{logfiles_config, "/home/fsalvini/Projects/log_monitor/config/logfiles.config"}
|
||||
]
|
||||
},
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[
|
||||
{ log_monitor, []
|
||||
}, "/home/fsalvini/gitRepos/log_monitor/config/log_monitor.config"
|
||||
}, "/home/fsalvini/Projects/log_monitor/config/log_monitor.config"
|
||||
].
|
||||
|
||||
Reference in New Issue
Block a user