View Source LogMon (LogMon v0.1.1)
LogMon is a hat tip to logrotate.
Summary
Functions
Takes either a full path to a config file or the map of the same.
Takes either a full path to a config file or the map of the same.
Functions
Takes either a full path to a config file or the map of the same.
Takes either a full path to a config file or the map of the same.
iex(1)> LogMon.test
%{
path_to_monitor: "/Users/user/logs/app.log",
desired_file_size: 1024,
compression: true,
max_storage_count: 4,
storage_path: "/Users/user/logs/backups/app",
storage_file_name: "app_name",
include_ts: true
}