Create Logfile and enable logging