Create logwriter.pl