A little improvement for the logger call:
-t : sets a tag which is used as program name in syslog
.. and the tail command:
-n0 : don't include the last lines when starting the log "transfer"
The last one is needed when starting this process during boot, while the file