Project

General

Profile

Revision 81a75448

Added by Julien Enselme over 9 years ago

Unlog is stable. Add alias and update log-report.sh

View differences:

.aliases
1 1
alias ll='ls -al'
2 2
alias lll='ls -alL'
3 3
alias nano='nano -w'
4
alias unlog='python3 /home/assos/unlog/unlog/main.py'
.gitignore
10 10
Maildir/*
11 11
tmp/*
12 12
Desktop/*
13
unlog
13 14
drush-backups
14 15
d7-sync-config.sh
15 16
.*
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}"

Also available in: Unified diff