Add licence information and update log filename.