2017-06-12 19:44:06 +02:00
|
|
|
[
|
|
|
|
{ log_monitor,
|
|
|
|
[
|
|
|
|
{email_config,
|
|
|
|
[
|
|
|
|
{sender, "log@monitor.com"},
|
|
|
|
{default_receiver, "salvini.fabio001@gmail.com"},
|
2017-06-26 16:27:53 +02:00
|
|
|
%% Subject of the email.
|
|
|
|
%% Placeholders:
|
|
|
|
%% %f: the full path of the log file (ex. /var/log/myapp.log).
|
|
|
|
%% %F: the basename of the log file (ex. myapp).
|
|
|
|
{subject, "[%F] Error notification"},
|
2017-06-12 19:44:06 +02:00
|
|
|
{connection, [
|
|
|
|
{relay, "smtp.fabiosalvinii.com"},
|
|
|
|
{username, "salvini.fabio001@gmail.com"},
|
|
|
|
{password, ""}]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2017-06-15 23:40:27 +02:00
|
|
|
},
|
|
|
|
%% Directory where the application data is stored.
|
|
|
|
%% WARNING: If you leave it inside /tmp, every time the node is restarted the
|
|
|
|
%% application will reset.
|
|
|
|
{ mnesia , [
|
|
|
|
{dir, "/tmp/mnesia"}
|
|
|
|
]
|
2017-06-12 19:44:06 +02:00
|
|
|
}
|
|
|
|
].
|