Tim: Updated Log File, logging now works