Révision 81a75448
Ajouté par Julien Enselme il y a plus de 9 ans
bin/log-report.sh | ||
---|---|---|
4 | 4 |
current_day=$(date "+%Y-%m-%d") |
5 | 5 |
log_file="${d7_dir_log}/${current_day}.log" |
6 | 6 |
|
7 |
cat "${log_file}" | mail -s "Log: ${current_day}" assos |
|
8 |
python3 /home/assos/tmp/unlog/unlog/main.py "${log_file}" --config /home/assos/.unlog --mail-subject "Unlog: ${current_day}" |
|
7 |
unlog "${log_file}" --config /home/assos/.unlog --mail-subject "Unlog: ${current_day}" |
Formats disponibles : Unified diff
Unlog is stable. Add alias and update log-report.sh