follow_log to dump and follow script related log entries

This commit is contained in:
2022-09-05 09:06:47 +02:00
parent ca092a41c0
commit 60a82354e1
3 changed files with 8 additions and 2 deletions

View File

@ -2,8 +2,6 @@
source $(dirname $0)/shelly.conf
LOGFILE=$SHELLY_HOST.log
while true; do
echo -e "\n======================================================================\n" | tee -a ${LOGFILE}
nc -u -k -l $UDP_LOG_PORT | tee -a ${LOGFILE}