log_monitor/config/log_monitor.config
2017-07-01 19:57:03 +02:00

31 lines
897 B
Plaintext

[
{ log_monitor,
[
{email_config,
[
{sender, "log@monitor.com"},
{default_receiver, "salvini.fabio001@gmail.com"},
%% 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"},
{connection, [
{relay, "smtp.fabiosalvinii.com"},
{username, "salvini.fabio001@gmail.com"},
{password, ""}]
}
]
},
{logfiles_config, "/home/fsalvini/gitRepos/log_monitor/config/logfiles.config"}
]
},
%% 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"}
]
}
].