NEW: logger.sh
This commit is contained in:
parent
4d773717fc
commit
66c008e2f4
4
sh/logger.sh
Normal file
4
sh/logger.sh
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
LOGFILE=/var/log/$1.log
|
||||||
|
MSG=`cat`
|
||||||
|
echo "$(date): $MSG" >> $LOGFILE
|
Loading…
Reference in New Issue
Block a user