Limit number of emails sent per minute.

This commit is contained in:
Fabio Salvini
2017-10-25 05:27:41 +02:00
parent b9a57d0054
commit 1ca50dbb90
3 changed files with 28 additions and 8 deletions

View File

@@ -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"}
]
},

View File

@@ -1,4 +1,4 @@
[
{ log_monitor, []
}, "/home/fsalvini/gitRepos/log_monitor/config/log_monitor.config"
}, "/home/fsalvini/Projects/log_monitor/config/log_monitor.config"
].