Browse Source

Support Warning messages in tailsession

pull/161/head
Eugenio Parodi 3 years ago
parent
commit
3341a96ce7
  1. 1
      tools/tailSession.sh

1
tools/tailSession.sh

@ -29,5 +29,6 @@ while read -r line; do
sed "s,/home.*/TermTk/,TermTk/," |
sed "s,^\(INFO:\),${Green}\1${_RST_}," |
sed "s,^\(ERROR:\),${Red}\1${_RST_}," |
sed "s,^\(WARNING:\),${Magenta}\1${_RST_}," |
sed "s,^\(DEBUG:\),${Blue}\1${_RST_},"
done < <(tail -F session.log)
Loading…
Cancel
Save