Add Log output.

Script now tells some events with date and time.