creates empty logfile if it doesn't exist to set permissions