Use Mnesia to store monitored log files
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
[
|
||||
{ log_monitor,
|
||||
[
|
||||
%% File where the list of monitored log files is stored.
|
||||
%% WARNING: If you leave it inside /tmp, every time the node is restarted the log files will be lost.
|
||||
{storage, "/tmp/logfiles"},
|
||||
{email_config,
|
||||
[
|
||||
{sender, "log@monitor.com"},
|
||||
@@ -16,5 +13,12 @@
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
%% 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"}
|
||||
]
|
||||
}
|
||||
].
|
||||
|
||||
Reference in New Issue
Block a user