Fix attachlog.txt location. Minor logging additions.